bird-list

1.0.2 • Public • Published

bird-list

Api for database of birds

How to use

npm install --save bird-list
var birdList = require('bird-list');
 
birdList.getBySpeciesCode('weosun1').then((data) => {
    // Metadata for a bird
    console.log(data);
 
    /*
        {
            category: 'species',
            comName: 'Western Olive Sunbird',
            comNameCodes: [ 'WOSU', 'OLSU' ],
            sciName: 'Cyanomitra obscura',
            sciNameCodes: [ 'CYOB' ],
            speciesCode: 'weosun1',
            taxonID: 'TC010237',
            taxonOrder: 27067,
        }
    */
}).catch((error) => {
    console.log(error);
})

API

getBySpeciesCode(code)

Return meta data for a bird

    birdList.getBySpeciesCode(code)

Readme

Keywords

none

Package Sidebar

Install

npm i bird-list

Weekly Downloads

1

Version

1.0.2

License

UNLICENSED

Last publish

Collaborators

  • gregthebusker