Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fr4ncistaylor/hubsaleapi
Connection to hubsale using python.
https://github.com/fr4ncistaylor/hubsaleapi
hubsale hubsale-api hubsale-python hubsaleapi python3 pytonapi
Last synced: 15 days ago
JSON representation
Connection to hubsale using python.
- Host: GitHub
- URL: https://github.com/fr4ncistaylor/hubsaleapi
- Owner: Fr4ncisTaylor
- License: apache-2.0
- Created: 2021-02-25T23:03:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-02-26T01:00:40.000Z (over 3 years ago)
- Last Synced: 2024-10-25T06:17:38.382Z (22 days ago)
- Topics: hubsale, hubsale-api, hubsale-python, hubsaleapi, python3, pytonapi
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Version 1.0
* * *
[![PyPI](https://img.shields.io/badge/python-3.8-blue.svg)]()
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()* * *
## Instalation``` bash
pip install hubsale
```* * *
## Connection
``` python
from HubSale import HubSale
from pprint import pprintclient_id = ""
client_secret = ""hubsale = HubSale(client_id, client_secret)
code, message = hubsale.connect()if code:
print("Success!!!")
else:
print('Oops,', message)
```* * *
## Examples* [Connect](https://github.com/Fr4ncisTaylor/HubSale-api/blob/main/exemplos/connect.py)
* [Consult sales by last transaction register date](https://github.com/Fr4ncisTaylor/HubSale-api/blob/main/exemplos/consult%20sales%20by%20last%20transaction%20register%20date.py)
* [Consult sales by transaction register data](https://github.com/Fr4ncisTaylor/HubSale-api/blob/main/exemplos/consult%20sales%20by%20transaction%20register%20date.py)
* [Consult sales by buy code](https://github.com/Fr4ncisTaylor/HubSale-api/blob/main/exemplos/Consult%20sale.py)