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)

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

json()

json parsed version for local requests.

property text

raw text version for local requests.