Skip to content

Version 2.1

Latest

Choose a tag to compare

@mickley mickley released this 23 Jul 19:38
· 1 commit to main since this release
  • Converts iNatJS to a class
  • Improved the documentation
  • adds formatName() function to parse out a scientific name and rank and return the component parts (genus, specific epithet, infraspecific epithet, binomial name, infrarank etc.
  • adds adObsField() function to add data to iNaturalist observation fields
  • adds getTaxonomy() function to get higher taxonomy levels for a given iNaturalist taxonID
  • adds getAdminLevels() function to get admin levels from a list of places (country, state/province/county)
  • adds headers to API requests if not already present in the user's request
  • adds getter functions to get read-only place_types and headers class variables
  • class constructor can optionally set the RequestsPerMinute and APITimeout class variables