Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimtje/totalcorner
totalcorner.com api client
https://github.com/jimtje/totalcorner
api betting soccer-data sports-betting
Last synced: 3 months ago
JSON representation
totalcorner.com api client
- Host: GitHub
- URL: https://github.com/jimtje/totalcorner
- Owner: jimtje
- License: mit
- Created: 2019-01-21T20:56:28.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-30T18:51:06.000Z (about 5 years ago)
- Last Synced: 2023-10-20T20:46:15.200Z (about 1 year ago)
- Topics: api, betting, soccer-data, sports-betting
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#Totalcorner API Client
Unofficial API Client for totalcorner.com API.
## **Install**
`pip install totalcorner`
or
`python setup.py install`
## **Usage**
`import totalcorner`
`tapi = totalcorner.TotalCornerAPI("apikeyabcdefg")`
*Today*
`tapi.today(type="upcoming", columns="events,odds,asian,cornerLine,cornerLineHalf,goalLine,goalLineHalf,asianCorner,attacks,dangerousAttacks,shotOn,shotOff,possession", page=1)`
*Schedule*
`tapi.schedule(date="20190501", columns="events,odds,asian,cornerLine,cornerLineHalf,goalLine,goalLineHalf,asianCorner,attacks,dangerousAttacks,shotOn,shotOff,possession", page=1)`
*Matchview*
`tapi.matchview(matchid="82537483",columns="events,odds,asian,cornerLine,cornerLineHalf,goalLine,goalLineHalf,asianCorner,attacks,dangerousAttacks,shotOn,shotOff,possession")`
*Odds*
`tapi.odds(matchid="82537483", columns="asianList,goalList,cornerList,oddsList,asianHalfList,goalHalfList,cornerHalfList,oddsHalfList")`
*League Table*
`tapi.leaguetable(leagueid="1", type='table')`*League Schedule*
`tapi.leagueschedule(leagueid="1", page=None, columns='events,odds,asian,cornerLine,cornerLineHalf,goalLine,goalLineHalf,"asianCorner,attacks,dangerousAttacks,shotOn,shotOff,possession')`