8000 added extra information for WP v4.7 · jamesbrink/wp-api-python@e2e524d · GitHub
[go: up one dir, main page]

Skip to content

Commit e2e524d

Browse files
author
derwentx
committed
added extra information for WP v4.7
1 parent cb0f0b3 commit e2e524d

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

README.rst

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Wordpress API - Python Client
22
===============================
33

4-
A Python wrapper for the Wordpress REST API that also works on the WooCommerce REST API v1-3 and WooCommerce WP-API v1.
5-
Forked from the excellent Wordpress API written by Claudio Sanches @ WooThemes and modified to work with Wordpress: https://github.com/woocommerce/wc-api-python
4+
A Python wrapper for the Wordpress REST API v1-2 that also works on the WooCommerce REST API v1-3 and WooCommerce WP-API v1.
5+
Forked from the excellent Woocommerce API written by Claudio Sanches and modified to work with Wordpress: https://github.com/woocommerce/wc-api-python
66

77
I created this fork because I prefer the way that the wc-api-python client interfaces with
88
the Wordpress API compared to the existing python client, https://pypi.python.org/pypi/wordpress_json
@@ -18,9 +18,11 @@ Roadmap
1818
Requirements
1919
------------
2020

21+
Wordpress version 4.7+ comes pre-installed with REST API v2, so you don't need to have the WP REST API plugin if you have the latest Wordpress.
22+
2123
You should have the following plugins installed on your wordpress site:
2224

23-
- **WP REST API** (recommended version: 2.0+)
25+
- **WP REST API** (recommended version: 2.0+, only required for WP < v4.7)
2426
- **WP REST API - OAuth 1.0a Server** (https://github.com/WP-API/OAuth1)
2527
- **WP REST API - Meta Endpoints** (optional)
2628

@@ -60,6 +62,10 @@ Getting started
6062

6163
Generate API credentials (Consumer Key & Consumer Secret) following these instructions: http://v2.wp-api.org/guide/authentication/
6264

65+
Simply go to Users -> Applications and create an Application, e.g. "REST API".
66+
Enter a callback URL that you will be able to remember later such as "http://example.com/oauth1_callback" (not really important for this client).
67+
Store the resulting Key and Secret somewhere safe.
68+
6369
Check out the Wordpress API endpoints and data that can be manipulated in http://v2.wp-api.org/reference/.
6470

6571
Setup

0 commit comments

Comments
 (0)
0