SDK for ooti
Project description
SDK OOTI
Explore the docs »
Swagger: Docs API
·
ooti.co
Table of Contents
About The Project
This sdk is for all people wanting to use the ooti API
Built With
Getting Started
Prerequisites
Installation
- Install virtual Environment
pip install pipenv pipenv shell --python 3.7
- Install ooti-api
pip install ooti-api
- Install requirements
pip install -r requirements.txt
How to use
- Import
import sdk_ooti
- Connect to the API
my_account = sdk_ooti.Auth('email', 'password') my_account.connect()
- Do a request
invoices = my_account.get_invoices_list()
See the example.py file for more examples
Conventions
Python:
- Use docstring
- 120 character limit
- No python file greater than 2000 lines
- Follow pep8 https://www.python.org/dev/peps/pep-0008/
- In VisualStudio Code use ‘autopep8’: ("python.formatting.provider": "autopep8")
Branch names:
- feature-xxx
- improve-xxx
- bug-xxx
- hotfix-xxx
1 commit per modification
Use informative commit messages
learn more - https://gist.github.com/digitaljhelms/4287848
Key words:
- TODO: something todo
- TOOSLOW: Speed needs to be improved
Imports:
Good:
from operations.factories import OperationFactory
from discounts.selectors import discount_coefficient
from discounts.selectors import discount_list
Not good:
from operations.factories import OperationFactory
from discounts.selectors import (discount_coefficient,
discount_list)
License
Copyright (C) 2016-2021 AxonePro S.A.S. legal@ooti.co All Rights Reserved
This file is part of axonepro.com.
Unauthorized copying of any file in this project, via any medium is strictly prohibited. Proprietary and confidential
axonepro.com can not be copied and/or distributed without the express permission of AXONEPRO.
HOW TO PUBLISHED IN PYPI
French tuto: https://sametmax.com/creer-un-setup-py-et-mettre-sa-bibliotheque-python-en-ligne-sur-pypi/
Twine documentation: https://twine.readthedocs.io/en/latest/
update ooti package version
python setup.py sdist bdist_wheel
python3 -m twine check dist/*
python3 -m twine upload -r pypi dist/*
python3 -m twine upload dist/* --skip-existing
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ooti-api-0.0.3.tar.gz.
File metadata
- Download URL: ooti-api-0.0.3.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a45cb69f99531660339d34a2ff39895a5ec7c5abd36a7524d18232ca1f714dd4
|
|
| MD5 |
3f52d445148f9495d82c2d7982123851
|
|
| BLAKE2b-256 |
070c7e2732dde9067dfedab6dabaff1ad811a08c3decf2f1d612ff1d4b457edb
|
File details
Details for the file ooti_api-0.0.3-py3-none-any.whl.
File metadata
- Download URL: ooti_api-0.0.3-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd14f02ca4e19f178e06e44db84ae96ac2774db1b618f754fe954cc699db25c1
|
|
| MD5 |
bc89fc14d2be4023ba21ac3b1b922071
|
|
| BLAKE2b-256 |
3bcd972e8c2c2ddeb76a4cf167087a241a4012d31fe602950d1faf755c1d2e4e
|