Skip to main content

pnut.io API library for python

Project description

PNUTpy aims to be an easy-to-use Python library for interacting with the pnut.io API.

Installation

To install, simply:

$ pip install pnutpy

Quick Start

In order to use PNUTpy, You’ll need an access token. If you don’t already have one, first create an app, and then generate an access token for your app.

import pnutpy
pnutpy.api.add_authorization_token(<Access Token Here>)

# Create a post
post, meta = pnutpy.api.create_post(data={'text':'Hello pnut.io from pnutpy!'})

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 pnutpy, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size pnutpy-0.2.3-py2.py3-none-any.whl (11.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size pnutpy-0.2.3.tar.gz (8.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