Difference between revisions of "Geoblocking API"

From DocuWiki
m (0oqb9d moved page Location API to Geoblocking API: Section rename)
Line 1: Line 1:
 
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.  
 
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 ===
+
== Get ==
http://console.247platform.com/api/location/check/?streamname=[Stream Name]&ip=[Viewers IP]&sessionId=[Session ID]&userId=[Client Id]
+
== Post ==
 +
== Delete ==
 +
== Setprofile ==
 +
== isallowed ==
  
=== 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 ==
+
== Exclude ==
 +
 
  
== Errors ==
 
 
[[Category:API]]
 
[[Category:API]]

Revision as of 12:00, 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.


Get

Post

Delete

Setprofile

isallowed

Exclude