A Python wrapper for the Wrike API.
Project description
WrikePy
WrikePy is a Python Wrapper for the Wrike.com API.
Getting Started
Import WrikePy
from WrikePy import *
Initialize API
Every Wrike API call requires a Wrike object parameter in order to send a request.
wrike = Wrike(base_url, perm_access_token, ssl_verify)
- The base_url parameter is the base URL for every Wrike API request. The default value is "https://www.wrike.com/api/v4".
- The perm_access_token parameter is the API key that you generate from your Wrike account (Apps & Integrations > API). The default value is "None".
- The ssl_verify parameter is a security feature that comes with secure urls. The default value is "True".
Wrike API
The format of WrikePy mirrors that of the Wrike API documentation methods. WrikePy includes a class for each API method and a function for each API call type. As an example, the following will get a folders and/or projects from within a folder...
folders = FoldersProjects(wrike, ["folderId"], {"paramKey": "paramValue"}).query__folders_folderId_folders()
Function Naming Conventions
Functions following the naming conventions put forth in the API documentation.
Name | Request Type |
---|---|
query__ | GET |
create__ | POST |
update__ | PUT |
delete__ | DELETE |
create_files__ | POST (Upload Files) |
update_files__ | PUT (Update Files) |
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
WrikePy-1.0.4.tar.gz
(12.4 kB
view details)
Built Distribution
WrikePy-1.0.4-py3-none-any.whl
(12.0 kB
view details)
File details
Details for the file WrikePy-1.0.4.tar.gz
.
File metadata
- Download URL: WrikePy-1.0.4.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e69742f62bccb2a2c345dbdb3cf3368811287af944075a04ba4fc195f82ba9b |
|
MD5 | 7e01a04c55d80be4dde4edfb7b1a5805 |
|
BLAKE2b-256 | 50b9dab30eb61451c4d7bc7221f454006cbd917588ddc64367b5dc6b9e7f3e4e |
File details
Details for the file WrikePy-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: WrikePy-1.0.4-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64417ed83fda2e352154bb755e3092d646eb5cebfcf7d2b306f530bfc3450e1b |
|
MD5 | ab11397ae60031d2485638ee11c6b0a1 |
|
BLAKE2b-256 | b4107dcffb0955c9465e375b3f0fe50cfa85485e0c367fcbbe57c9be723494e9 |