Fandom

Resighting Wiki

GetDailySighting Method

71pages on
this wiki
Add New Page
Comments0 Share

Get the Sighting that appears daily on the Resighting homepage. The date is specified in the url, e.g. /api/1/dailysightings/2013/08/14.

If the specified date does not correspond to a valid date then an invalid_date error is returned. If no daily Sighting exists for a valid date then a method_not_found (404) error is returned.

Sightings chosen as daily Sightings are always publicly-visible Sightings (i.e. they are not on-hold), but it is possible that a public Sighting is a resighting of a Sighting that is on-hold. In that case, the original Sighting is only returned in the Sighting object if the owner of the access token is the owner of the original Sighting.

Url: https://resighting-api.appspot.com/api/1/dailysightings/yyyy/mm/dd

HTTP Method: GET

ParametersEdit

Name Type Mandatory Description
access_token String(32) Yes A valid access token.

ReturnsEdit

Returns a Sighting object and HTTP status 200, or an Error object and HTTP status 4xx or 5xx.

Example UsageEdit

curl https://resighting-api.appspot.com/api/1/dailysightings/2013/08/14?access_token=ACCESS_TOKEN

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.