Python Cartola FC API
Uma interface em Python para a API Rest do Cartola FC.
Índice
Sobre este projeto
Este projeto é uma interface em Python para a API REST do Cartola FC. Cartola FC é um esporte fantasy sobre futebol, ou seja, é um jogo fictício no qual as pessoas montam seus times com jogadores de futebol da vida real. Foi lançado no ano de 2005.
Criado e mantido por Globo.com e promovido pelo canal de TV por assinatura Sportv, este jogo de futebol virtual conta com mais de 5 milhões de usuários registrados. Logo na abertura da temporada 2016, o jogo registrou a sua melhor marca entre times escalados em uma única rodada em 12 anos de história do fantasy, incríveis 2.723.915 de usuários montaram as suas equipes para a primeira rodada do Campeonato Brasileiro de 2016. A 10ª rodada do Campeonato Brasileiro de 2017 instituiu um novo recorde, onde 5.540.835 times foram escalados no jogo.
Versões
Este projeto foi testado e funciona em Python 3.8, 3.9 e 3.10.
Instalação
PyPI:
$ pip install Python-CartolaFC
Ou baixando o código fonte e executando:
$ python setup.py install
Versão em desenvolvimento:
$ pip install git+https://github.com/vicenteneto/python-cartolafc.git#egg=Python-CartolaFC
Exemplo
A API Python-CartolaFC destina-se a mapear os objetos no CartolaFC (por exemplo, Atleta, Clube, Liga, Equipe) em objetos Python facilmente gerenciados:
>>> import cartolafc
>>> api = cartolafc.Api()
>>> time = api.time(nome='Falydos FC')
>>> time.ultima_pontuacao
48.889892578125
>>> time.info.nome
'Falydos FC'
Mais exemplos disponíveis no Github: https://github.com/vicenteneto/python-cartolafc/tree/main/examples
Contribuintes
Identificou algum bug ou tem alguma requisição de funcionalidade nova? Por favor, abra uma nova issue.
Direitos autorais e licença
Copyright 2017-, Vicente Neto. Este projeto é licenciado sob a Licença MIT.
Metadata
Release files for Python-CartolaFC 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| Python-CartolaFC-3.1.0.tar.gz | 11.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| Python_CartolaFC-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.5 kB
Release files / Python-CartolaFC-3.1.0.tar.gz
| Download URL | Python-CartolaFC-3.1.0.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
05e0f94b09c7de1d13836d82c0042c9f7677737012ac5da1b8d1e66ea9c56864
|
|
BLAKE2b-256 checksum How to use checksums |
6108f4ab9b4ab2afc6fa12ade1e28be9e9c82bdd859fc89f42298e01c1e91d4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / Python_CartolaFC-3.1.0-py3-none-any.whl
| Download URL | Python_CartolaFC-3.1.0-py3-none-any.whl |
|---|---|
| Size | 10.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f7f90fa608853689994f68ab8265fcb2a1606c807780811325c766589d9b9d59
|
|
BLAKE2b-256 checksum How to use checksums |
b10dfa2b35ec8829c2921b7a5ea8b9b58895d3211270cc1a0b957538476978b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for Python-CartolaFC 3.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.