IDigBio API: Difference between revisions

m
Line 27: Line 27:
== Quick Start ==
== Quick Start ==


iDigBio API endpoints follow the general form:
iDigBio API endpoints follow the the following general form:


;<pre>http://api.idigbio.org/{api_version}{endpoint}{optional_parameters}</pre>
;<pre>http://api.idigbio.org/{api_version}{endpoint}{optional_parameters}</pre>


;Simple Example - Curculionidae
In nearly all cases, a successful API request returns data as a JSON-formatted document.
 
;Quick Start Example - Curculionidae


Let us say that we have already located the specimen record for a particular Curculionidae specimen (a family of weevils). The specimen record for our particular example is identified by the following iDigBio GUID:
Let us say that we have already located the specimen record for a particular Curculionidae specimen (a family of weevils). The specimen record for our particular example is identified by the following iDigBio GUID:
1,554

edits