I'm having problems trying to access some parts of Pinnacle API using Python 2.7.
While most of the links do work, every time I try to get ALL soccer odds at once it returns nothing and the
execution freezes. Here's my code:
import requests
r = requests.get("https://api.pinnacle.com/v1/fixtures?sportid=29", auth=('username', 'password'))
print r.content
I guess it has something to do with amount of data because I'm able to get specific leagues and the sports with fewer games. The following examples work:
r = requests.get("https://api.pinnacle.com/v1/fixtures?sportid=4", auth=('username', 'password')) (Basketball)
r = requests.get("https://api.pinnacle.com/v1/fixtures?sportid=29&leagueids=1728,1798, 1817", auth=('username', 'password'))