Commit fedbf10
chasinglightning
·
2025-03-06 10:49:48 -0500 EST
parent 6163dab
track stuff that didn't get caught in last commit
3 files changed,
+27,
-0
+0,
-0
Binaries are not rendered as diffs.
+13,
-0
| ... | ... | @@ -0,0 +1,13 @@ | |
| 1 | + | import os | |
| 2 | + | from storygraph_api import User | |
| 3 | + | from dotenv import load_dotenv | |
| 4 | + | from pathlib import Path | |
| 5 | + | ||
| 6 | + | dotenv_path = Path('/home/kat/Documents/Code/Git/storygraph-api/.env') | |
| 7 | + | ||
| 8 | + | load_dotenv(dotenv_path=dotenv_path) | |
| 9 | + | cookie = os.getenv('COOKIE') # retrieve cookie from .env file | |
| 10 | + | uname = 'visualkill' #some username | |
| 11 | + | user = User() | |
| 12 | + | result = user.currently_reading(uname,cookie=cookie) | |
| 13 | + | print(result) |
+14,
-0
| ... | ... | @@ -0,0 +1,14 @@ | |
| 1 | + | import os | |
| 2 | + | from dotenv import load_dotenv | |
| 3 | + | from pathlib import Path | |
| 4 | + | from Comic_Geeks import Comic_Geeks | |
| 5 | + | ||
| 6 | + | dotenv_path = Path('/home/kat/Documents/Code/Git/comicgeeks-0.3.4') | |
| 7 | + | ||
| 8 | + | load_dotenv(dotenv_path=dotenv_path) | |
| 9 | + | cookie = os.getenv('COOKIE') | |
| 10 | + | ||
| 11 | + | client = Comic_Geeks(cookie) | |
| 12 | + | ||
| 13 | + | # get info about an issue | |
| 14 | + | client.issue_info(3616996) |