API documentation

Club, event, records and trivia data is available in json, csv or xml format.

Data is accessed via the following base URL then filtered using combinations of parameters separated by ampersands (&). All paramaters are case sensitive.

https://www.jugglingedge.com/feeds/getdata.php?

Errors

If something is wrong with your request a plaintext list of errors will be returned to explain the problem. Try the link above for an example.


Output types

This parameter is required for all requests.

Output=json
Return data in json (javascript object notation) format

Output=csv
Return data in csv (comma separated value) format

Output=xml
Return data in xml (extensible markup language) format


Parameters for Clubs

Data=clubs
This parameter is required for all requests for club data.

Region=?
Return clubs in a country or continent.
? must be either:

Status=?
Return clubs with a specific status.
? must be an integer from 0 to 3:

UpToStatus=?
Return clubs up to and including the specified status.
? must be an integer from 0 to 3:

UserID=?
Return clubs connected to a specific user.
? must be an integer and correspond to a valid user.


Parameters for Events

Data=events
This parameter is required for all requests for event data.

Region=?
Return events in a country or continent.
? must be either:

Status=?
Return events with a specific status.
? must be either 0 or 1:

Year=?
Return events from a specific year (be careful with the Status parameter eg. don't use Status:1 with a year in the past).
? must be a 4 digit integer corresponding to the year.

GroupID=?
Return events connected to a specific organisation.
? must be an integer and correspond to a valid organisation..

UserID=?
Return events connected to a specific user.
? must be an integer and correspond to a valid user.

Stat=?
Return all events and the value that have a trivia item matching the specified key.
? must be a string corresponding to a key in the trivia database.


Parameters for Records

Data=records
This parameter is required for all requests for record data.

TrickID=?
Return records for a specific trick.
? must be an integer and correspond to a trick as defined in the records database.

UserID=?
Return records connected to a specific user.
? must be an integer and correspond to a valid user.


Parameters for Trivia

Data=trivia
This parameter is required for all requests for trivia data.

EventID=?
This parameter is required for all requests for trivia data.
Return trivia for the specified event.
? must be an integer and correspond to an event in the events database.