@@ -0,0 +1,762 @@
+import json%0A%0Afrom requests_oauthlib import OAuth1Session%0A%0A%0AAPI_KEY = %22%3CAPI_KEY%3E%22%0AAPI_SECRET = %22%3CAPI_SECRET%3E%22%0A%0A%0Adef test_get():%0A    url = 'http://127.0.0.1:5000/some/api/endpoint'%0A    params = %7B'q': 'helloworld'%7D%0A    client = OAuth1Session(API_KEY, API_SECRET, None, None)%0A    r = client.get(url, params=params)%0A    print(r.status_code, r.json())%0A%0A%0Adef test_post():%0A    url = 'http://127.0.0.1:5000/some/other/api/endpoint'%0A    with open('dummydata.json') as f:%0A        data = json.load(f)%0A    client = OAuth1Session(API_KEY, API_SECRET, None, None)%0A    headers = %7B'content-type': 'application/json'%7D%0A    r = client.post(url, data=json.dumps(data), headers=headers)%0A    print(r.status_code, r.json())%0A%0A%0Aif __name__ == '__main__':%0A    test_get()%0A    # test_post()%0A

Add an example for writing the client