Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

OAuth plugin for HTTPie.

Project Description

httpie-oauth
===========

OAuth plugin for `HTTPie <https://github.com/jkbr/httpie>`_.

It currently provides support for OAuth 1.0a 2-legged.


Installation
------------

.. code-block:: bash

$ pip install httpie-auth


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


Usage
-----

.. code-block:: bash

$ http --auth-type=oauth1 --auth='client-key:client-secret' example.org


You can also use `HTTPie sessions <https://github.com/jkbr/httpie#sessions>`_:

.. code-block:: bash

# Create session
$ http --session=logged-in --auth-type=oauth1 --auth='client-key:client-secret' example.org

# Re-use auth
$ http --session=logged-in POST example.org hello=world

Release History

This version
History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
httpie-oauth-1.0.2.tar.gz
(1.8 kB) Copy SHA256 Hash SHA256
Source None Sep 24, 2013

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting