Name:
Licence: Strictly for Non-Commercial Use under the Backstage Licence. Offered to Backstage with permission of Press Association.
Description: Events in and around the UK
Status: Stable
Type: XML/JSON REST API
The objective of this API is to allow the A&E database to be queried by remote applications, an external web site for example. This happens over http using XML
Before we get any further, it is of the utmost importance that you understand the relationships between the key components, which make up
an event. An event is merely a relationship between a title and a venue. Each event has unique occurrences.
For the purpose of this API, an event is a group of occurrences (dates and times) for a title (film/play/gig etc.) at a
venue (theatre/cinema etc.)
Figure.1

Demonstrating (amongst other things) that Shrek VI is being shown at two cinemas and Bristol Cinema has two films showing.
Figure.2

An example of a musical fitting into the model.
Figure.3

The Most simple event relationship possible, a one-off event.
A title often belongs to multiple categories (Figure.4). A group is simply a group of categories.
Figure.4

Groups are simply groups of categories. There are no parameters.
http://api.welcomebackstage.com/group/
Title categories. A Title can belong to multiple categories.
http://api.welcomebackstage.com/category/
Top 10 titles. There are no parameters.
http://api.welcomebackstage.com/rank/
Paginated search results pertaining to events
http://api.welcomebackstage.com/search/
Event dates and times.
Title information. Such as name and description etc.
Venue information. Such as name, address postcode etc.
Two formats of output are available to users:
By default XML is output. To specify which format you would prefer, append format=json or format=xml to the end of a request.
For example: http://api.welcomebackstage.com/search/postcode=n14aa&format=json
Any subsequent URLs generated by the API will append the format parameter for you.
Each category and its subcategories have 2 unique identifiers, categoryId and bitmask.
By adding the bitmasks of two or more categories (or subcategories) together you can search for events in those categories.
For example:
To search for Action and Rock events you would pass the API the bitmask 16385 (16384 + 1)
Example: http://api.welcomebackstage.com/search/bitmask=16385
To search for Rock and Days Out events you would pass the API the bitmask 4210688 (16384 + 4194304)
Example: http://api.welcomebackstage.com/search/bitmask=4210688
To search for all 3 you would pass the API the bitmask 4210689 (1+ 16384 + 4194304)
Example: http://api.welcomebackstage.com/search/bitmask=4210689
