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.

Source Distribution

pnutpy-0.4.0.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

pnutpy-0.4.0-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pnutpy-0.4.0.tar.gz.

File metadata

  • Download URL: pnutpy-0.4.0.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for pnutpy-0.4.0.tar.gz
Algorithm Hash digest
SHA256 bfb800f94dc35ab45cf066176fcd031dd547452bced47652566d29e2cf0d4da6
MD5 59521397b26709d2ab7b4065ee4be8e4
BLAKE2b-256 084ad98112023f41cbbf03d55a6dd4f75d6134cbbd47e4f6c84e536c8019aac6

See more details on using hashes here.

File details

Details for the file pnutpy-0.4.0-py2.py3-none-any.whl.

File metadata

  • Download URL: pnutpy-0.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.2

File hashes

Hashes for pnutpy-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6369e13d35cc016999b8805f04db68e8c0605ae157ba4685004d8b553c8bc644
MD5 c36443e9fc0dbccaf3597af814f802b4
BLAKE2b-256 589af5c798e1a8c4fc96288ec32b6f596abbd7bc2fe60dee3d3e56ab2628b7dd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page