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
Metadata
Release files for wordpress-oauth 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wordpress_oauth-0.1.2.tar.gz | 3.3 kB | Details |
Release files / wordpress_oauth-0.1.2.tar.gz
| Download URL | wordpress_oauth-0.1.2.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00ca97a3ee587db11bac66b3ad5cb0463177084bb7ad7d80b34ad38fe0db3df0
|
|
BLAKE2b-256 checksum How to use checksums |
921704b38d73a9e0a34e276df1b42acbf1f98e1059a124f98da58826dc11f641
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|