Skip to main content

totalcorner.com api client

Project description

#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’)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for totalcorner, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size totalcorner-0.1.2-py3-none-any.whl (4.4 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size totalcorner-0.1.2.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page