Skip to main content

A complete Python client for Pinwheel's API

Project description

A Python client for Pinwheel's API

PyPi License

Open Issues Closed Issues Latest Release

Discord Twitter

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


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)

Uploaded Source

Built Distribution

pynwheel-0.1.0-py3-none-any.whl (38.5 kB view hashes)

Uploaded Python 3

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