adafruit_fakerequests

Fake Network Requests helper that retrieves data from a local file.

  • Author(s): Melissa LeBlanc-Williams

Implementation Notes

Software and Dependencies:

class adafruit_fakerequests.Fake_Requests(filename: str)

For faking ‘requests’ using a local file instead of the network.

json() Any

json parsed version for local requests.

property text: str

raw text version for local requests.