inaturalist_api

Node.js API for iNaturalist.org

Usage no npm install needed!

<script type="module">
  import inaturalistApi from 'https://cdn.skypack.dev/inaturalist_api';
</script>

README

iNaturalistAPI

Build Status Coverage Status

A Node.js map tile and data API for the iNaturalist.org website

Installation

npm install

API

Standard Parameters

Name Required Type Description
taxon_id integer identified to the taxon and its descendants
user_id integer created by the user
place_id integer observed in the place
project_id integer in the project
d1 datetime observed on or after the date
d2 datetime observed on or before the date

Render Points Tile

/geohash/:z/:x/:y.png

Render a PNG tile with points showing every observation matching the request parameters. Colors are based on the taxon represented.

/geohash/:z/:x/:y.grid.json

Return a UTFGrid representation of geohash tile data.

Render Heatmap Tile

/heatmap/:z/:x/:y.png

Render a PNG tile with points showing a heatmap summary of all pbservations matching the request parameters.

/heatmap/:z/:x/:y.grid.json

Return a UTFGrid representation of heatmap tile data.