A complete Python client for Pinwheel's API
Project description
A Python client for Pinwheel's API
Interact with Pinwheel's API in Python
Installation
From PyPi: python -m pip install pynwheel
From GitHub python -m pip install git+https://github.com/nwithan8/pynwheel.git
Usage
Can retrieve data from Pinwheel's API as raw JSON or pydantic objects
Import the pynwheel
package to initialize the API
Example:
import pynwheel
api = pynwheel.API(api_type=pynwheel.APIType.PRODUCTION, api_key="thisisanapikey")
Set raw=True
to return JSON data, raw=False
to return objects.
NOTE: Object creation not supported yet. Will default to JSON responses.
Documentation
Documentation available on ReadTheDocs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pynwheel-0.1.0.tar.gz
(13.9 kB
view hashes)
Built Distribution
pynwheel-0.1.0-py3-none-any.whl
(38.5 kB
view hashes)