Skip to main content

A REST API wrapper for requests

Project description


Build Status Maintainability Coverage Status Requirements Status

A package for using REST APIs


A lot of APIs are REST based, reqrest provides an easy way to use them.


Getting started is easy, first install the package using pip install reqrest

Next import it

from reqrest import REST

Then query your API


You can add custom headers

custom_headers = {"authorization": "Basic dXNlcm5hbWU6cGFzc3dvcmQ="}
RESTAPI = REST('', headers=custom_headers)

Or querystrings

querystring = {}
querystring[pagesize] = 1000
RESTAPI.get('/get', querystring=querystring)

Have a read of examples/


You can use basic_auth to create and store your headers / config

headers = Auth().read_config("basic_config.json")
RESTAPI = REST('', headers=headers)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for reqrest, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size reqrest-1.0.0-py3-none-any.whl (8.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size reqrest-1.0.0.tar.gz (3.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page