Not logged in - Login

Contents [hide]

Using Our APIs

Accessing the API is a two-step process. Before you begin, you will need your client Id and client secret from your "Manage Your Account" page.

Please note that this API is still in development and thus the below steps are subject to change.

To request an access token for the API, do the following:

  1. Make a POST request to https://auth.sportsinfosolutions.com/connect/token with the following parameters in the body (this is standard OAuth2):
* client_id
* client_secret
* grant_type (value = 'client_credentials")
* scope (value = "sisapi")

Note that the scope above has changed!

The raw request will look like this:

POST https://auth.sportsinfosolutions.com/connect/token
client_id: yourclientId
client_secret: yourclientsecret
grant_type: client_credentials
scope: sisapi

Note that the scope above has changed!

The response will look like this:

    { "access_token" : "blahblahblahblah...","expires_in":3600,"token_type": "Bearer"}
  1. Grab the value from "access_token", and add it (with "Bearer " prefixed) as the value of a Header key called "Authorization".

The raw request will look like this (using an example endpoint):

GET http://api.sportsinfosolutions.com/api/v1/nfl/league
[Header stuff]
Authorization: Bearer blahblahblahblah...



At this point, you should recieve a JSON-encoded response.


Resources