Integração com API do Bling usando Python
Project description
pybling
Integração com API do Bling usando Python
Como rodar o projeto?
- Clone esse repositório.
- Crie um virtualenv com Python 3.
- Ative o virtualenv.
- Instale as dependências.
- Configure sua API Key
git clone https://github.com/tiagocordeiro/pybling.git
cd pybling
python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install -r requirements.txt
python contrib/env_gen.py
Testes
Rode os testes
pytest tests/tests.py --verbosity=1
Como usar
>>> from pybling.products import list_products
>>> produtos = list_products()
>>> produtos
<Response [200]>
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
pybling-0.0.9.tar.gz
(4.5 kB
view details)
Built Distribution
File details
Details for the file pybling-0.0.9.tar.gz
.
File metadata
- Download URL: pybling-0.0.9.tar.gz
- Upload date:
- Size: 4.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7dd8425e20c4701e3ac9940c7000516d2290bebdbdee8aeec28f6e8440432984 |
|
MD5 | 4a8f3d8eef4fc328ad36df79c2bc5fb0 |
|
BLAKE2b-256 | c0111c78a6f789335797c46c62e5c39c3332bcdff2d9811547b3ed15ea3d09ad |
File details
Details for the file pybling-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: pybling-0.0.9-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.4.2 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9da5e761772565ff7b07381e2296a5aeedba7e4bf19070ab4ca8b9ec460361b5 |
|
MD5 | 4f4572886847e307a1ea6eac7dcdc597 |
|
BLAKE2b-256 | 5208f44395d38b45e61ebf91ae9371b4517964e9b55439d99de1bd128f2e8dc4 |