perf: change structure and simplify

This commit is contained in:
2023-07-19 03:49:56 -03:00
parent df3033bc6e
commit e36e1f73c5
14 changed files with 117 additions and 102 deletions

19
demo/check_attendency.py Normal file
View File

@@ -0,0 +1,19 @@
import asyncio
import logging
from ppgee import PPGEE
logging.basicConfig(level=logging.INFO)
async def main() -> None:
cpf = "00011122233"
async with PPGEE(user=cpf, password=cpf) as ppgee:
attendency_page = await ppgee.attendency()
print(attendency_page.history())
await attendency_page.confirm()
await asyncio.sleep(5)
if __name__ == "__main__":
asyncio.run(main())