[b]"What's the best python code for pulling API data? Need help with my script!"[/b] or [b]"Struggling to write py

14 Replies, 816 Views

Y’all are legends—thanks for the examples! Tried the `requests` snippet and finally got past the auth errors (turns out I was missing a header 🤦‍♂️).

But now I’m getting weird encoding issues with the JSON. Sometimes it’s fine, other times it’s like `UnicodeDecodeError`. Any idea why?

Also, `httpx` looks dope—gonna test that next.

P.S. Rate limits are still kicking my butt, but the `time.sleep()` trick helps. Cheers!

Messages In This Thread



Users browsing this thread: 1 Guest(s)