adafruit / Adafruit_CircuitPython_Requests

Requests-like interface for web interfacing
MIT License
51 stars 36 forks source link

Update Requests Discord API example to use settings.toml #136

Closed DJDevon3 closed 11 months ago

DJDevon3 commented 1 year ago

One API at a time. @kattni my contributions that have API in the example file name are not included in any learn guides or documentation. This is a good way to take baby steps with the update to settings.toml by first changing all of my contributions over.

Most likely @FoamyGuy will be reviewing this one again. This is the web scrape example that requires you to get the auth key from the request header with a browser developer tool. Still works fine.

Unsure if I should embed the Web Workflow credentials for getenv in the example or just wifi?

FoamyGuy commented 11 months ago

Thanks @DJDevon3!