Available Routes
- /api/v1.0/common_names: Get ALL common names and IDs
- /api/v1.0/scientific_names: Get ALL scientific names and IDs.
- /api/v1.0/dates: Get min and max dates with available sightings.
- /api/v1.0/count/<min-date>/<max-date>: Get total number of sightings available in date range.
- /api/v1.0/count/<min-date>/<max-date>/<scientific-name>: Get total number of sightings available in date range, matching name.
- /api/v1.0/trend/<min-date>/<max-date>: Get day-by-day number of sightings in date range. Sorted alphabetically.
- /api/v1.0/trend/<min-date>/<max-date>/<scientific-name>: Get day-by-day number of sightings in date range, matching name. Sorted alphabetically.
- /api/v1.0/sightings/<offset>/<min-date>/<max-date>: Get sightings data, offset as specified, within date range. Sorted by date.
- /api/v1.0/sightings/<offset>/<min-date>/<max-date>/<scientific-name>: Get sightings data, offset as specified, within date range, matching name. Sorted by date.
Usage Notes
- Dates should be specified in YYYY-MM-DD format.
- Names are matched by finding names that start with the specified string. So to search for all species within a genus, specify only the genus name. To search for a single species, specify the full scientific name (genus and species). Note this is case sensitive; the genus name is capitalized and the species name is not.
- Sightings are sent 3333 events at a time. Use the offset to download the entire result set.