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: over 1 year 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 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-26T01:00:40.000Z (over 5 years ago)
- Last Synced: 2025-03-16T01:48:25.568Z (over 1 year 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
* * *
[]()
[]()
* * *
## Instalation
``` bash
pip install hubsale
```
* * *
## Connection
``` python
from HubSale import HubSale
from pprint import pprint
client_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)