Skip to main content
Latest PyPI version

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

WP REST API - OAuth 1.0a Server

Compatibility

Licence

Authors

wordpress_oauth was written by fx-kirin.

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)

Source distribution for wordpress-oauth 0.1.2
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

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

0.1.1

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page