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 details)
Built Distribution
pynwheel-0.1.0-py3-none-any.whl
(38.5 kB
view details)
File details
Details for the file pynwheel-0.1.0.tar.gz
.
File metadata
- Download URL: pynwheel-0.1.0.tar.gz
- Upload date:
- Size: 13.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4835ea79311004a8280d1bd9b07ff3d3af3207c0ed1fafa3095ede38d283ed7f |
|
MD5 | 79a7e78351e2881a9b8fe9529598b57d |
|
BLAKE2b-256 | 7ac8bdce9eef0d7d97e4a9ed2195f6e7365d111ad67071eb9b0e8bdc006b024d |
File details
Details for the file pynwheel-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pynwheel-0.1.0-py3-none-any.whl
- Upload date:
- Size: 38.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c949e77c0214e91b74ce3c750e252efbda5bbca15da9eb233a09f3795b876c2 |
|
MD5 | b42bfd878a7c0c5aa39c39173974fbac |
|
BLAKE2b-256 | 1074eb33a3ccf8fea2b0bcc0f03af87aac910aafd1971de5dad8786b55e98c8c |