Skip to content

Evaluation of locations of location aware narratives (part of the StoryPlaces project)

Notifications You must be signed in to change notification settings

petrospaps/LANLandscapeAnalysis

Repository files navigation

LANLandscapeAnalysis

Evaluation of locations of location aware narratives (part of the StoryPlaces project)

List of APIs

Data police

The API doesn't need any authentication. A polygon of coordinate can be directly used.

https://data.police.uk/api/crimes-street/all-crime?poly=[lat],[lng]:[lat],[lng]:[lat],[lng]
  • The radius is either within a 1 mile radius of a single point, or within a custom area source. However the location is anonymised and represent an approximation of the location source.
  • List of all type of crimes

SPOI

Flickr

In order to use the API, you require an API key from Flickr, which also means signing up for a Yahoo! account. Note that API keys are for non-commercial use, unless with prior agreement from Flickr.

Of the functions which the API provides, the following are most likely to be of interest for data extraction:

  • Flickr.photos.search. Can be used to extract a list of photo ID's matching criteria, including image type (e.g. limit to photos only), date taken time range, place taken (either longitude, latitdue and a radius in mi/km, or a bounding box of longitudes & latitudes), Flickr "where on earth" or Flickr Places ID, geo-context (indoors/outdoors). The information returned on each photo is minimal (it's enough to generate a link to it, not much else). Note the results are paged.
  • Flickr.stats.getPhotoStats. For a given photo ID, returns the number of views, comments, and favourites (NB: requires the uploading user to have enabled stats for the account).
  • Flickr.photos.getInfo. Can be used to get "full" information about a photo, given its' ID (and assuming permission to view it). Returned data includes title, description, visibility, permissions, taken/upload dates, notes, tags, location data (longitude/latitude, Place ID, Where On Earth ID), and URL.
  • Flickr.photos.getFavourites. Can be used to extract the set of users who have favourited an image, along with the timestamp of favouriting. Note the results are paged.
  • Flickr.tags.getListPhoto. For a given photo ID, returns the set of tags for an image. There may be no tags, or they may be things we are not interested in, like EXIF data.
  • Flickr.places.tagsForPlace
  • Flickr.photos.comments.getList. For a given photo ID c(and optionally data bounds), returns the set of comments for the image.

Note that all of the Flickr API documentation pages have an "API explorer" option at the bottomn, which allows interactive query construction.

About

Evaluation of locations of location aware narratives (part of the StoryPlaces project)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published