Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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]).