Straight-street.com API - Alpha

This is the RESTful API for the straight-street.com symbol set. It allows programs to search and access symbols as users can using the interactive gallery web page.

A test web app is available for exploring the api and provides an example of javascript client-side access.

Specification

All symbols have a name and may have multiple tags associated with them. Names and tag names may contain spaces.

http://straight-street.com/api/symbols/ENall symbols
http://straight-street.com/api/symbols/EN/{text}all symbols with a name or tag that includes 'text' (space delimited)
http://straight-street.com/api/symbol/EN/{name}single symbol with name of 'name'
http://straight-street.com/api/tags/ENall tags
http://straight-street.com/api/tags/EN/{text}all tags attached to symbols of with 'text' in their name
http://straight-street.com/api/tag/EN/{name}single tag of name
http://straight-street.com/api/usageUsage information - this page
?appid=example.comRequired application id e.g. domain. 5 to 25 characters
?page=nOptional page n if multiple results returned (1st page is 0)
?pagesize=nOptional number of items in a page if multiple results returned. Max is 20, default is 15
?callback=funcOptional function call support for cross domain access (AKA JSONP)

Responses are JSON but the mime type is text/plain so they can be viewed in browser. They include the related symbol or tag names plus associated URLs into the api. The URLs for various version of the symbol image are also returned.

Examples

The following links demostrate the API (appid is not shown for simplicity).

Known issues

None.