Skip to main content

Nsof OAuth 2 plugin for HTTPie.

Project description

Nsof OAuth 2 plugin for the HTTPie command line HTTP client.

Installation

$ pip install httpie-nsof

You should now see nsof under --auth-type in $ http --help output.

Setup

$ httpie-nsof-setup

Your HTTPie should be configured to use Nsof’s auth plugin with your creds (see ~/.httpie/config.json).

Usage

$ http --auth-type=nsof GET https://api.nsof.io/v1/users

It’s possible to pass a different effective org using the env EORG:

$ EORG=nsof http --auth-type=nsof GET https://api.nsof.io/v1/users

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 httpie-nsof, version 0.8
Filename, size File type Python version Upload date Hashes
Filename, size httpie_nsof-0.8-py2.py3-none-any.whl (5.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size httpie-nsof-0.8.tar.gz (3.4 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