Examples
Kevin: Add working URLs showing examples of the service in action.
API Parameters
Note | ||
---|---|---|
| ||
For the EBIRD dataService, only the EBIRD data collection will be available initially (i.e., all the data used for unrestricted, normal eBird clones). When the eBird application begins to use this API to generate frequency histograms, we will need to expand the list of EBIRD collections to include DOD, CKWRI, GCBO. The reason for this is that these clones use datasets other than the standard unrestricted eBird dataset that most clones for their output. |
...
parameter group | description | parameter name | implementation status | values | example value | default |
---|---|---|---|---|---|---|
service |
| dataService | deployed |
| AKN | none |
location |
| location | deployed |
| US-FL | none |
|
| locationType | deployed |
| subnational1 | none |
|
|
|
|
|
|
|
period |
|
|
|
|
|
|
|
| beginYear | deployed |
| 2000 | 1900 |
|
| endYear | deployed |
| 2000 | 2008 (i.e., current year) |
|
|
|
|
|
|
|
collection |
| collection | deployed |
| BBS | none |
|
|
|
|
|
|
|
species |
| species | deployed |
| Sialia sialis | all |
|
|
|
|
|
|
|
format |
| format | deployed |
| jsdoc | htfull |
|
|
|
|
|
|
|
output |
| output | deployed |
| f | f |
|
|
|
|
|
|
|
locale |
| locale | not implemented |
| en_US | en_US |
|
|
|
|
|
|
|
jsFunctionName | specifies the name of the javascript function to be returned | jsFunctionName | deployed | Used only when format=jsfunc. This parameter specifies the name of the function that is to be defined in the JavaScript file that is returned. Not required. | myFreqChart | AKNFreqHist |
Test URLs
Kevin: Add working URLs showing examples of the service in action.
Response to a well-formed Frequency Histogram Request
...
No Format |
---|
function AKNFreqHist () { return '<link rel="stylesheet" type="text/css" href="http://akn.ornith.cornell.edu/styles/histogram.css" /><table class="obs-histogram"><thead><tr><td class="sp" title=""></td><td>Jan</td><td>Feb</td><td>Mar</td><td>Apr</td><td>May</td><td>Jun</td><td>Jul</td><td>Aug</td><td>Sep</td><td>Oct</td><td>Nov</td><td>Dec</td></tr></thead><tbody></tr><tr id="sp305" class="o""><td class="sp" title="Passer domesticus">House Sparrow</td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/09.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/sp.gif" /><img src="http://akn.ornith.cornell.edu/images/sp.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td></tr></tbody></table>'; } |
...
No Format |
---|
document.write('<link rel="stylesheet" type="text/css" href="http://akn.ornith.cornell.edu/styles/histogram.css" /><table class="obs-histogram"><thead><tr><td class="sp" title=""></td><td>Jan</td><td>Feb</td><td>Mar</td><td>Apr</td><td>May</td><td>Jun</td><td>Jul</td><td>Aug</td><td>Sep</td><td>Oct</td><td>Nov</td><td>Dec</td></tr></thead><tbody></tr><tr id="sp305" class="o""><td class="sp" title="Passer domesticus">House Sparrow</td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /><img src="http://akn.ornith.cornell.edu/images/03.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/09.gif" /><img src="http://akn.ornith.cornell.edu/images/05.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/sp.gif" /><img src="http://akn.ornith.cornell.edu/images/sp.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td><td><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /><img src="http://akn.ornith.cornell.edu/images/no.gif" /></td></tr></tbody></table>'); |