Skip to main content

Python client for PayWhirl API

Project description

A convenient PayWhirl API wrapper in Python

The PayWhirl Python library is provided to allow developers to access PayWhirl services without needing to write their own API wrappers.

The Documentation linked here and below contains all of the available methods for interacting with your PayWhirl account. If you would like to see additional functionality added, feel free to submit an issue or a pull request.

Usage Guide

Table of Contents

Requirements

Installation

$ pip3 install --upgrade paywhirl

Usage

To create a new PayWhirl object, you need to pass your API key and secret, which can be found in the API key section of the main site.

from paywhirl import PayWhirl, HTTPError

api_key = 'pwpk_xxxxxxxxxxxxxxx'
api_secret = 'pwpsk_xxxxxxxxxxx'

pw = PayWhirl(api_key, api_secret)

try:
    print(pw.get_account())
except HTTPError as e:
    print(e.response.status_code)
    print(e.response.text)

License

PayWhirl is copyright © 2016-2018 PayWhirl Inc. This library is free software, and may be redistributed under the terms specified in the license.

About

PayWhirl Inc. and the names and logos for PayWhirl are trademarks of PayWhirl inc.

For additional information, please see our Terms of Use and Privacy Policy

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

paywhirl-1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paywhirl-1.2-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file paywhirl-1.2.tar.gz.

File metadata

  • Download URL: paywhirl-1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for paywhirl-1.2.tar.gz
Algorithm Hash digest
SHA256 60c126523fc8eab81709961136aa46e0796d6599d2d67f439cce05a63049006d
MD5 6990a69ca82c695c0c6a0b3df1e72f0a
BLAKE2b-256 8307483c0225f3f469570e52e93c77ba7bcbbbe881c5b2802ceaaf3a4584c1d8

See more details on using hashes here.

File details

Details for the file paywhirl-1.2-py3-none-any.whl.

File metadata

  • Download URL: paywhirl-1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.6.8

File hashes

Hashes for paywhirl-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ebc0410d539e7eda16bda03e2fcb29df3acdab44bc9038fe6d1ea21cb27d0893
MD5 a459f1d2bc4152d2853579bae28b270f
BLAKE2b-256 b038ecd2b2f628b6e7449e90c89ba9ed2c538fcaea3c569c5ca29cacd72eb8a9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page