API Connection to the WaveApps (https://www.waveapps.com/) API.
Project description
PyWaveApps
An API connector for the WaveApps platform (https://www.waveapps.com/) based on the WaveApps API (https://developer.waveapps.com/hc/en-us/categories/360001114072).
Install
pip3 install PyWaveApps
Please note that use of this package may be subject to additional terms and conditions from WaveApps, including:
- https://www.waveapps.com/legal/terms-of-service-api-by-wave
- https://developer.waveapps.com/hc/en-us/articles/360020596571-Permitted-Use-Wave-Business-Owners
- https://developer.waveapps.com/hc/en-us/articles/360020596771-Permitted-Use-Developers-and-Integrators
Quickstart
Get Access Token
Currently, PyWaveApps only supports Full Access Token (bearer token) authentication. To obtain one, follow the steps below (based off of https://developer.waveapps.com/hc/en-us/articles/360018856751-Authentication):
- Log into the developer portal:
- Create a new application or enter an existing one: https://developer.waveapps.com/hc/en-us/articles/360019762711
- Scroll to the "Full Access tokens" section and click the "Create token" button to generate a new full access token.
Setup
from pywaveapps import WaveApps
WAVE_APPS_BEARER_TOKEN = "<YOUR TOKEN HERE>"
wave = WaveApps(WAVE_APPS_BEARER_TOKEN)
...
Query
There are several predefined functions to make integrating with WaveApps as quick as possible. Additionally, you can use the WaveApps.query.custom(..., **kwargs) method to pass your own query-string, and use kwargs to pass any variables.
...
wave.query.wave.query.businesses(...)
wave.query.customers(...)
wave.query.invoices(...)
wave.query.invoices_by_customer(...)
wave.query.user(...)
wave.query.custom(...)
...
###Mutate Support for mutations is coming soon!
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
File details
Details for the file PyWaveApps-1.1.1.tar.gz.
File metadata
- Download URL: PyWaveApps-1.1.1.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
000c9609bb61cd73642a572f1514552cb6445def85ec2bddf5833e5077bb52fd
|
|
| MD5 |
1ce3b8052bfc97961896cc5f26d2769e
|
|
| BLAKE2b-256 |
9fff157793a96b30972f4ee926c5260fb2a1ecf1474733a891340f96b30c220b
|