Skip to main content

JSONRequester is a wrapper around Httplib2 to interact with JSON APIs. It works similarly to Httplib2 but converts request and response data to and from JSON.

Installing

pip install jsonrequester

Create a new requester

from jsonrequester import JsonRequester

requester = JsonRequester(’http://example.com’)

Make a request

requester.post(‘/post_handler’, {‘example’: ‘data’})

Methods

Methods for GET and POST are provided as .get and .post methods on the requester. Any additional HTTP methods you need can be made using the request method on the requester.

requester.request(‘PUT’, ‘/put_handler’, {‘example’: ‘data’})

Release files for jsonrequester 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jsonrequester 0.1.5
File Size Uploaded
jsonrequester-0.1.5.tar.gz 3.5 kB Details

Release files / jsonrequester-0.1.5.tar.gz

Download URL jsonrequester-0.1.5.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
ce78f698879b5c0d1d46132288ca3cccd12aa80c5fe211bfd9a2ea83c1dc6723
BLAKE2b-256 checksum
How to use checksums
003f68ea2f00b3dda6a295959748eb6bab886cfe5b274c66a8310330adbbb257
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.5 This release

1 release file

0.1.4

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page