Python REST API wrapper for WP-API/OAuth1
Project description
Python REST API wrapper for WP-API/OAuth1
Usage
import wordpress_oauth
api = wordpress_oauth.Wordpress("~/.config/pywordpress_oauth/config.yml")
image_path = "images/icon.png"
result = api.upload_image(image_path)
This library asks auth setting on initial startup.
Installation
pip install wordpress_oauth
Requirements
Compatibility
Licence
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
wordpress_oauth-0.1.2.tar.gz
(3.3 kB
view details)
File details
Details for the file wordpress_oauth-0.1.2.tar.gz.
File metadata
- Download URL: wordpress_oauth-0.1.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00ca97a3ee587db11bac66b3ad5cb0463177084bb7ad7d80b34ad38fe0db3df0
|
|
| MD5 |
2e8424f76e3410bc9e4d778db3bfdfd1
|
|
| BLAKE2b-256 |
921704b38d73a9e0a34e276df1b42acbf1f98e1059a124f98da58826dc11f641
|