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.

Source Distribution

totalcorner-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

totalcorner-0.1.2-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file totalcorner-0.1.2.tar.gz.

File metadata

  • Download URL: totalcorner-0.1.2.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for totalcorner-0.1.2.tar.gz
Algorithm Hash digest
SHA256 8144628018072bfe6a7ef1aae6b2962a395b58c180a91440dc5fa55487230dd9
MD5 909d66c6defe9bbe258aef4f00a9fdcf
BLAKE2b-256 cdca8aafc6308749d00449c6e230c03a162251800763570bbce95db8174db9e3

See more details on using hashes here.

File details

Details for the file totalcorner-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: totalcorner-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.6.8

File hashes

Hashes for totalcorner-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0de7a75d645b764620bf83cad87de3d4d0f3118cf9871ce8a670f55d3b5c12ea
MD5 d0df69ca017b8f47d3d90232816047ba
BLAKE2b-256 dc9d524bf9ef9428655819baf0aef3320cbd5c66f384164a3929e5930060f8f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page