Donate using PayPal

CycleStreets API (v2)

  • Details for:
  • API overview
  • Obtain API key
  • Usage policy
  • Uptime policy

Photomap tags

This API call returns a list of tags in the Photomap.

Tags are retrieved by the most popular, but then returned in order of tag name.

An example use of this can be seen on the Photomap tags page.

Example

This example retrieves the 5 most popular tags.

https://api.cyclestreets.net/v2/photomap.tags?key=registeredapikey&limit=5

Result:

[
    {
        "tag": "cambridge",
        "total": 1595
    },
    {
        "tag": "cycle",
        "total": 1243
    },
    {
        "tag": "cycling",
        "total": 1456
    },
    {
        "tag": "france",
        "total": 1914
    },
    {
        "tag": "germany",
        "total": 1181
    }
]

Request parameters - required

None.

Request parameters - optional

limit integer default 200
Limit the number of results.
match string
Match against this string. Useful for auto-complete. Matches are performed from the start of the string.

Response

JSON structure as per example above.

Error response

JSON object containing an error key and a text string.

Example error (text string will vary):

{
    "error": "The value of the supplied limit was not numeric."
}

We welcome your feedback, especially to report bugs or give us route feedback.

My comments relate to: *






Your comments: *
URL of page: * https://cambridge.cyclestreets.net/api/v2/photomap.tags/
How did you find out about CycleStreets?:
Your name:
Our ref: Please leave blank - anti-spam measure

* Items marked with an asterisk [*] are required fields and must be fully completed.