Gameflip API
Uma API wrapper em Python para utilização com a plataforma Gameflip. Facilita a integração via script, para automatizar operações, consultar dados e interagir com a Gameflip de forma programática.
🧰 Funcionalidades
- Conexão autenticada com a Gameflip via chave e segredo (
API_KEY,API_SECRET) - Métodos para executar operações comuns (por exemplo: listagem de produtos, criação de ofertas, consulta de histórico)
- Interface simples em Python para agilizar automações
- Código open-source, fácil de estender para necessidades específicas
🚀 Começando
Pré-requisitos
-
Python (versão compatível — idealmente 3.8+)
-
Conta na Gameflip e acesso à API (chave + segredo)
-
Variáveis de ambiente configuradas:
export GFAPI_KEY=<sua_chave_aqui> export GFAPI_SECRET=<seu_segredo_aqui>
(No Windows:
set GFAPI_KEY=<…>,set GFAPI_SECRET=<…>)
Instalação
pip install gameflip-api
Uso básico
Exemplo no arquivo example.py (ajuste conforme a sua necessidade):
import os
from pprint import pprint
from dotenv import load_dotenv
from gameflip_api.api import GameflipAPI
load_dotenv()
print("Listing results:")
listing_response = GameflipAPI.listing_search(digital=True, limit=1)
pprint(listing_response.json())
gameflip_api = GameflipAPI(os.getenv('GFAPI_KEY'), os.getenv('GFAPI_SECRET'))
print("My profile info:")
pprint(gameflip_api.profile().json())
📦 Estrutura do Projeto
src/gameflip_api/— código-fonte da bibliotecaexample.py— script de demonstração de usotest.py— arquivo para testes rápidosrequirements.txt— dependências do Python
🤝 Contato
Se tiver dúvidas, sugestões ou quiser colaborar:
- Crie uma issue no próprio repositório
- Envie um pull request com descrições claras das alterações
Metadata
Release files for gameflip-api 1.0.2
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 | Actions |
|---|---|---|---|---|
| gameflip_api-1.0.2.tar.gz | 11.6 kB | Without provenance | Details for gameflip_api-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gameflip_api-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for gameflip_api-1.0.2-py3-none-any.whl |
Total release size: 23.4 kB
Release files / gameflip_api-1.0.2.tar.gz
| Download URL | gameflip_api-1.0.2.tar.gz |
|---|---|
| Size | 11.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
61bbdd2c7e26912bacc9c8b3dba3009899e426baf557aa602887c9b67ec416f7
|
|
BLAKE2b-256 checksum How to use checksums |
c3f4fe562a0d9e529137869812e12cb430bb09a144a8fe05b4aa602b1d63ec3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Release files / gameflip_api-1.0.2-py3-none-any.whl
| Download URL | gameflip_api-1.0.2-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e74043a0f32bc84fca886d3194a95be1211ea129a4d6b20a51fea20d1466f83
|
|
BLAKE2b-256 checksum How to use checksums |
779df18e3ea005cf7a556dfd389824847d83d15e2c76f20557cac54c2a4b7f58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.8.10
|
Security for gameflip-api 1.0.2
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.