unirest is not supported by Python 3.x do you know what library would be supported and do you have sample code
Hi fliplewis, the following statuses are available:
STATUS_CANCELED STATUS_FINAL STATUS_SCHEDULED STATUS_HALFTIME STATUS_END_PERIOD STATUS_IN_PROGRESS STATUS_POSTPONED
What are different types of event_status such as one is STATUS_NOT_AVAILABLE?
Hi Calinucrew,
Thanks for reaching out and raising this issue!
For Python 3, we recommend the requests library. Here is a bit of sample code using requests that you may use to integrate with our API:
>>> import requests >>> response = requests.get("https://therundown-therundown-v1.p.mashape.com/sports", ... headers={ ... "X-Mashape-Key": "your-api-key", ... "Accept": "application/json" ... } ... ) >>> response.json() {u'sports': [{u'sport_name': u'NCAA Football', u'sport_id': 1}, {u'sport_name': u'NFL', u'sport_id': 2}, {u'sport_name': u'MLB', u'sport_id': 3}, {u'sport_name': u'NBA', u'sport_id': 4}, {u'sport_name': u"NCAA Men's Basketball", u'sport_id': 5}, {u'sport_name': u'NHL', u'sport_id': 6}]} >>>
Join in the discussion - add comment below:
Hi fliplewis, the following statuses are available:
What are different types of event_status such as one is STATUS_NOT_AVAILABLE?
Hi Calinucrew,
Thanks for reaching out and raising this issue!
For Python 3, we recommend the requests library. Here is a bit of sample code using requests that you may use to integrate with our API: