Difference between revisions of "Geoblocking API"

From DocuWiki
(Check)
m (0oqb9d moved page Location API to Geoblocking API: Section rename)
(No difference)

Revision as of 11:58, 26 February 2014

Location API allows you to perform various checks against a viewers' IP address in order to ensure that they would be able to view content in a given region.

Exclude

Check

Performs a lookup based on a viewers' IP address to see if they fall inside the allowable geographic region for a video. This is useful when checking to see if a user is able to view a video before allowing them to purchase it for example.

Request URL

http://console.247platform.com/api/location/check/?streamname=[Stream Name]&ip=[Viewers IP]&sessionId=[Session ID]&userId=[Client Id]

Params

  • streamname (string) (required) Stream name of video checking against, e.g. ab-1234-live
  • ip (string) (required) Viewers IP address to check against.

Response

Errors