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.7.tar.gz
(32.2 kB
view hashes)
Built Distribution
Close
Hashes for ffbb_api_client-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 061629f98e5a5783920fba1ce201a05f4b8851b9a7159514b8fd0dace16c8b1e |
|
MD5 | 83a2bfad7c69cc583f128da8d3c39c18 |
|
BLAKE2b-256 | 4ae92b10dcc4b5d04176183a1fe9afb038344171e8f261a96f9dc2a97e68fc37 |