Easily Install your Wordpress blog in your Django project using wp rest API v1
Project description
Easily Install your Wordpress blog in your Django project
This package allows to communicate easily with any wordpress project that is using WP REST API v1 .
Even though the WP REST API package is already on the 2 version; it is still on beta so it was decided that this package will only support v1 until v2 is out of beta.
Documentation
The full documentation is at https://django-wordpress-api.readthedocs.org.
Quickstart
Install Django Wordpres API:
pip install django-wordpress-api
Then use it in a project:
import wordpress_api
Features
Connect to an external wordpress application
Retrieves all the blog posts ordered by pages
Filter blog posts using several of the available filters in WP REST API
Search blog posts using a keyword
order the blog posts by several attributes like author, title, type, etc; ascending and descending order (default order is descending date)
Retrieve posts with a different type than “post”
Four Views to display the blog page, The Post detail, The Posts filtered by category and the Posts filtered by tag; All of this with the search by keyword option
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements.txt (myenv) $ pip install -r requirements_test.txt (myenv) $ python manage.py test
Credits
Tools used in rendering this package:
History
0.1.0 (2016-09-02)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-wordpress-api-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f4db0d0b03aaefc71655ed4e9859c96e46f2b7b62642665b7398e917e91830e5 |
|
MD5 | b2d89143f66df9b6b6be43f1f7d6bb99 |
|
BLAKE2b-256 | fd134054938851448b5515a6d21353da09a9fd7f34b175e488bac0fa3f4907d2 |