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