Files
ppgee/demo/check_attendency.py

20 lines
419 B
Python

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())