Bob Graham

The Bob Graham 24 Hour Club

Data API

There are two versions of the API, unsurprisingly referred to as V1 and V2. Surprisingly version 2 is not an upgrade to version 1 but a different way of accessing the information. The table below shows the main differences between the two.

Call v1 v2
Overall Generally more complete, the API allows filtering, sorting and limiting the data. Only filters the data returned. Sorting and limiting the data must be done by the client code.
Security Requires that you trust 3rd party code in your website. Does not require you to install 3rd party code.
Debugging/logging Provides a framework to log calls however you wish. Does not offer any logging facility.
membersData() Has a full set of user provided options. Can filter, sort and limit the data returned. Has a limited set of user provided options. Can only filter the data to be returned.
assists() No difference. Uses the same options. No difference. Uses the same options.
meta() No difference. Uses the same options. No difference. Uses the same options.
copyright() No difference. Uses the same options. No difference. Uses the same options.

V1

Version 1 is in effect a full Javascript stack, all that is required of the client is to display the data in whatever manner they see fit. It is designed to be as easy as possible to get the exact data you want in the format you want.

V2

Version 2 is a set of simple PHP endpoints giving access to the data.