
AndroPress REST API
v1.4bhattaraisubash · 2018年5月7日 上架
Get REST API response as JSON to android app, using token authenticated request .
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 1,824
- 最近更新
- 2018年7月7日
需要 WordPress 4.6+已测试到 4.9.36PHP 5.2.4+
贡献者
截图
Get REST API response as JSON to android app, using token authenticated request .
AndroPress is a secure way of requesting and receiving JSON data from your website to android app using REST service .
You can request for :
- categories : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=category
- latest posts : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=post
- category posts : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=post&category_name=CATEGORY_NAME
- search result : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=post&s=SEARCH_QUERY
- posts with offset : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=post&offset=OFFSET_VALUE
- posts with posts_per_page : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=post&posts_per_page=NO_OF_POSTS
Note : You can request with multiple parameters. For example you can pass ‘category_name’ as well as ‘posts_per_page’ in the url.


