Skip to main content

onefootball_network

Python client for the OneFootball Network API

Platform Code style: black

This package contains a python client for the OneFootball Network API. It allows OneFootball’s content partners to publish articles onto the OneFootball platform. It also allows partners to update and delete articles that they have already published to the OneFootball platform.

The API can be used by partners to set up their own services such that content published on their sites is automatically sent to OneFootball and natively integrated onto the OneFootball platform for OneFootball users.

Please note that the OneFootball Network is a closed, invite-only platform and only authorized content partners are able to use the OneFootball Network API.

🚀 Quickstart

You can install onefootball-network-api-py from pip:

pip install onefootball-network-api-py

The package includes a OneFootballNetwork class which has all methods you need to interact with the api.

# main.py
from onefootball_network import OneFootballNetwork

of = OneFootballNetwork()

of.get_articles(external_id="25657")

🔧 Development

If you want to contribute to this repository, clone the git repository and run:

make develop
make test
make serve-docs

Release History

  • 0.1.0: first release

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Release files for onefootball-network 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onefootball-network 0.1.1
File Size Uploaded
onefootball_network-0.1.1.tar.gz 7.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for onefootball-network 0.1.1
File Interpreter ABI Platform
onefootball_network-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / onefootball_network-0.1.1.tar.gz

Download URL onefootball_network-0.1.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b422ede3441cbed0d43e65720dcaf74e9bb4cee22b3b457441c16603773f9bb4
BLAKE2b-256 checksum
How to use checksums
77c4d64c8c2f7ac0aa5093808a027d7b710157c52ec2f28a1346abeb0bceecde
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Release files / onefootball_network-0.1.1-py3-none-any.whl

Download URL onefootball_network-0.1.1-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06b27601d3ceacda1fce5885adb6948262611d00361ebcaede1d525e2f5d9f90
BLAKE2b-256 checksum
How to use checksums
dc79f27a6127913278731ed19b0a1392ed60eb5d03ca22d6d8b3c424ce3b5f7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page