docs: use markdown
This commit is contained in:
24
README.md
Normal file
24
README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Example:
|
||||
|
||||
```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())
|
||||
```
|
||||
Reference in New Issue
Block a user