Agilize 0.0.10

Creator: codyrutscher

Last updated:

Add to Cart

Description:

Agilize 0.0.10

Agilize


Unofficial client to access Agilize.
Installation
pip install agilize

How to Use
High-level API
from agilize import Agilize, Competence


agilize = Agilize(username='11222333000160', password='p4ssw0rd')


companies = agilize.companies()

for company in companies:
print(company)


company = companies[0]

competence = Competence(year=2022, month=5)
prolabore = company.prolabores.get(competence)
print(prolabore)

with open(f'./prolabore_{competence}.pdf', 'wb') as f:
f.write(prolabore.download())

Low-level API
from agilize import Client


agilize = Client(username='11222333000160', password='p4ssw0rd')

print(agilize.info)
company_id = agilize.info['party']['companies'][0]['__identity']

agilize.prolabores(company_id=company_id, year=2022)

Contributing
Contributions are welcome, feel free to open an Issue or Pull Request.
Pull requests must be for the develop branch.
git clone https://github.com/lucasrcezimbra/agilize
cd agilize
git checkout develop
python -m venv .venv
pip install -r requirements-dev.txt
pre-commit install
pytest

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.