Allow to interact with FFBB apis
Project description
ffbb_api_client
Allow to interact with FFBB apis
ffbb_api_client allow to interact with FFBB api. You can retrieve information about clubs, teams, matches, etc…
Installation
pip install ffbb_api_client
Quick start
import os
from ffbb_api_client import FFBBApiClient
# Load env from file if needed
# from dotenv import load_dotenv
# load_dotenv()
# Retrieve api user / pass
basic_auth_user = os.getenv("FFBB_BASIC_AUTH_USER")
basic_auth_pass = os.getenv("FFBB_BASIC_AUTH_PASS")
# Create an instance of the api client
api_client = FFBBApiClient(
basic_auth_user=basic_auth_user,
basic_auth_pass=basic_auth_pass
)
Examples
Take a look at quick_start.py to see how to use the library.
Note
This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.
Licence
ffbb_api_client is distributed under the Apache 2.0 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ffbb_api_client-0.0.5.tar.gz
(32.1 kB
view hashes)
Built Distribution
Close
Hashes for ffbb_api_client-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1ace7081642b7a044ab0d9d25fe69d239658bac1aea64d108ca8354cf952946 |
|
MD5 | ffccfe3a176c8c4df305c35a8c46665a |
|
BLAKE2b-256 | fb43eef51134f64d832b585ee95a03493c1f8b9a20976fbd91e4d0ed062a171e |