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
Configure Nsof’s auth plugin with your creds (saved in ~/.httpie/config.json). The credentials can be either a username/password or API Key ID/API Key Secret
- Notes:
if username is not provided in conf file it will be searched at HTTPIE_NSOF_USERNAME
if password is not provided in conf file it will be searched at HTTPIE_NSOF_PASSWORD
manually inputted username/password supersede conf file and environment variables
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
Release files for httpie-nsof 1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| httpie-nsof-1.7.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| httpie_nsof-1.7-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size:10.8 kB
Release files / httpie-nsof-1.7.tar.gz
| Download URL | httpie-nsof-1.7.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ec0a1dbd0c6995ea0787d12c3b7aee322cbdaa21bd5206ccfe5983b36d2095b
|
|
BLAKE2b-256 checksum How to use checksums |
1fdaa597921131c6fd311665e9c81a6b26d374c5c30dcec91d13dd4350b1ae70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.5
|
Release files / httpie_nsof-1.7-py2.py3-none-any.whl
| Download URL | httpie_nsof-1.7-py2.py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b1f8b0a1b6a9df0260697765cbf259acfb8d2a686af3b01c1c849ce558a925ad
|
|
BLAKE2b-256 checksum How to use checksums |
c23ad13275661e2c4d8b8a8fe9544fcf7f556dfb804be24e9403b436eafcc0c1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.5
|