chore: initial logic
This commit is contained in:
commit
693e92c789
9 files changed
+346
No files matched your search
@@ -0,0 +1,18 @@
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
from ppgee import PPGEE
|
||||
|
||||
|
||||
async def main():
|
||||
cpf = "00011122233"
|
||||
async with PPGEE(cpf, cpf) as ppgee:
|
||||
response = await ppgee.frequency()
|
||||
if "Opção não disponível" in response:
|
||||
print("Not ready yet")
|
||||
await asyncio.sleep(5)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
asyncio.run(main())
|
||||
Reference in new issue
Block a user