8000 GitHub - pnut-api/PNUTpy: Python library for pnut.io
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pnut-api/PNUTpy

Repository files navigation

PNUTpy: pnut.io API for Python

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!'})

About

Python library for pnut.io

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 8

Languages

0