GithubHelp home page GithubHelp logo

zims-data-api's Introduction

Species Holdings API

Welcome to the Species360 API documentation for aggregated species holdings from Zoological Information Management Software (ZIMS).

Making a request

Authentication

To make any requests to the Species Holdings API you will need to include an Authorization header with a valid API key in the format Bearer API_KEY. You can obtain an API key by contacting Species360.

Base Url

To make a request to the Species Holdings API, you will need to use the following base URL:

https://api.species360.org/data/

API endpoints

GET ./v1/taxa/{taxonomy}/ex-situ-summary

Parameter Description

taxonomy

The taxonomy of the animal you are looking for

JSON Response:

Path Type Description

countries

Array

The countries that hold the species

countries[].countryName

String

The name of the country

countries[].countryISO

String

The ISO code of the country

countries[].institutionCount

Number

The number of institutions in the country that hold the species

countries[].animalCount

Number

The number of animals in the country that hold the species

population

Object

The population of the species

population.maleCount

Number

The number of males in the population

population.femaleCount

Number

The number of females in the population

population.otherCount

Number

Other includes unsexed, undeternmined, and any other type that is not male or female

population.totalCount

Number

The total number of animals in the population

population.institutionCount

Number

The number of institutions that hold the species

studbooks

Array

Managed studbooks for the species

studbooks[].organization

String

The organization that holds the studbook

Example Request:

https://api.species360.org/data/v1/taxa/Echinotriton andersoni/ex-situ-summary

Example JSON Response:

{
  "countries" : [ {
    "countryName" : "United States",
    "countryISO" : "US",
    "countryLatitudeAverage" : 38.0,
    "countryLongitudeAverage" : -97.0,
    "institutionCount" : 3,
    "animalCount" : 43
  }, {
    "countryName" : "Japan",
    "countryISO" : "JP",
    "countryLatitudeAverage" : 36.0,
    "countryLongitudeAverage" : 138.0,
    "institutionCount" : 1,
    "animalCount" : 54
  } ],
  "population" : {
    "maleCount" : 1,
    "femaleCount" : 90,
    "otherCount" : 9,
    "totalCount" : 100,
    "institutionCount" : 5
  },
  "studbooks" : [ {
    "organization" : "Japanese Association of Zoos and Aquariums (JAZA)"
  } ]
}

Failed Request Response Example:

{
"status": 404,
"message": "No taxonomy found for Echinotrit anderson"
}

zims-data-api's People

Contributors

jared-modugno avatar sarah-hanley avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.