Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fx-kirin/python_wordpress_oauth
Python REST API wrapprer for WP-API/OAuth1
https://github.com/fx-kirin/python_wordpress_oauth
Last synced: about 1 month ago
JSON representation
Python REST API wrapprer for WP-API/OAuth1
- Host: GitHub
- URL: https://github.com/fx-kirin/python_wordpress_oauth
- Owner: fx-kirin
- License: mit
- Created: 2021-03-13T16:24:30.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-15T02:28:32.000Z (almost 4 years ago)
- Last Synced: 2024-11-20T01:51:37.688Z (about 2 months ago)
- Language: Python
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wordpress_oauth
[![Latest PyPI version](https://img.shields.io/pypi/v/package_name.svg)](https://pypi.python.org/pypi/wordpress_oauth)
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](https://github.com/WP-API/OAuth1)
## Compatibility
## Licence
## Authors
wordpress_oauth was written by [fx-kirin]([email protected]).