Skip to content

Latest commit

 

History

History
95 lines (69 loc) · 2.94 KB

README.md

File metadata and controls

95 lines (69 loc) · 2.94 KB

WikiTaxa

WikiTaxa allows you to easily fetch taxonomy reference data for given scientific name.

  • Use web Editor to verify and update Wikidata, Wikipedia and Wikispecies pages.
  • Use CLI or REST API to fetch taxonomic references.

🦉 Try WikiTaxa Editor here: https://wikitaxa.onrender.com/

Note This demo app is running on the Render free plan, for larger operations is recommended to use WikiTaxa locally. Regardless of the circumstances please not flood or abuse in any other way scientific APIs or DBs using this tool.

Sources

Wikidata page related to taxonomic properties, databases section:

Taxon properties template (with listed databases):

Usage

🧬 Lib

const { 
  sourcesCount: number, 
  performSearch: (query: string, encodeQuery: boolean = true, exact: boolean = false) => object, 
  getWikidata: async (query: string, exact: boolean = false) => Promise => array[object], 
  getWikipedia: async (query: string, exact: boolean = false) => Promise => array[object], 
  getWikispecies: async (query: string, exact: boolean = false) => Promise => array[object]
} = require('./lib/wikitaxa');

🔧 Tools: Editor

  • /editor/search?q={q} – displays single taxon check result and related Wiki projects pages

🌐 REST API

  • /api/search/{q} – single taxon check
  • /api/search/{q1},{q2}… – multiple taxon check
  • /api/status – databases access check

Temporarily disabled

  • /api/list – list all cached search results
  • /api/purge/{q} – delete cached search result

💻 CLI

  • yarn cli {q} – single taxon check, example usage:

    yarn cli coccinea
    yarn cli "pitta maxima"
  • yarn cli {q1},{q2}… – multiple taxon check, example usage:

    yarn cli "coccinea,pitta maxima"

Supported DBs

  • CITES (CITES Species+ ID)
  • EBio (eBiodiversity ID)
  • EBird (eBird taxon ID)
  • EPPO (EPPO Code)
  • EOL (Encyclopedia of Life ID)
  • FoA (Flora of Australia ID (new))
  • GBIF (Global Biodiversity Information Facility ID)
  • INaturalist (iNaturalist taxon ID)
  • IPNI (International Plant Names Index ID)
  • IRMNG (Interim Register of Marine and Nonmarine Genera ID)
  • ITIS (Integrated Taxonomic Information System ID)
  • LoB (Lepidoptera of Belgium ID)
  • PotW (Plants of the World online ID)
  • NLSR (Nederlands Soortenregister ID)
  • TAXREF ID
  • Tropicos ID
  • VASCAN ID
  • WoRMS (World Register of Marine Species ID)
  • ZooBank ID

Other supported references

  • Britannica (Encyclopedia Britannica Online ID)

Contribution

🛠 Development (TODO)