Skip to main content

Canadian Football League API Wrapper

Project description

CFLApi - a Python client for The Canadian Football League statistics API

Description

CFLApi is a lightweight client library for the CFL statistics API

Documentation

Installation

TODO

Dependencies

API Key

You will need an API key to access the CFL API. To obtain a key, submit a API key request

Example

import cflapi
api = cflapi.CFLApi(YOUR API KEY HERE)

response = api.getGamesBySeason(2018, filter={'team': {'eq': 'SSK'}})
for game in response['data']:
    print(game['date_start'], game['team_1']['nickname'], '@', game['team_2']['nickname'])

Support

If you find an bug, have any questions or have suggestions for improvements then feel free to file an issue on the Github project page here.

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

cflapi-1.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cflapi-1.0.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file cflapi-1.0.2.tar.gz.

File metadata

  • Download URL: cflapi-1.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for cflapi-1.0.2.tar.gz
Algorithm Hash digest
SHA256 3871110fec963696ef2a9a1afb372034ca65337f8464383a70d9e1dbee1c5a53
MD5 54d78adb2d1894ffbb5fff1177f758a9
BLAKE2b-256 0b09591a8b2e35cda2aebfd985e85c7b5b2cf62f4376e56372e0c81bd0443fd0

See more details on using hashes here.

File details

Details for the file cflapi-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cflapi-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.12.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

File hashes

Hashes for cflapi-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb137ab4e790585e6953df34497b54b916e24c6de454070b747ff5364714d4c4
MD5 31a2f1d32c32a91fdf8ca444f5d78b66
BLAKE2b-256 7ef3a056d63081811c0b7881e9dcf3d623773cfe1bfe957c5b63ed8a74dd06bd

See more details on using hashes here.

Supported by

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