该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

AndroPress REST API

描述

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.

屏幕截图

  • Create App
  • View Apps
  • View App Key

安装

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘andropress-rest-api’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select andropress-rest-api from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

CONFIGURATION

  1. Log in to your WordPress Dashboard
  2. Navigate to the ‘AndroPress Rest’ in the Dashboard
  3. On the ‘Generate New’ tab , enter your ‘App Name’ and generate ‘App Key’ and click ‘Submit’
  4. Click on the ‘My Apps’ tab to view your Apps
  5. Click on the App Name to view APP KEY
  6. Copy the App Key
  7. Use this key while requesting the API

常见问题

Installation Instructions

Using The WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Search for ‘andropress-rest-api’
  3. Click ‘Install Now’
  4. Activate the plugin on the Plugin dashboard

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select andropress-rest-api from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

CONFIGURATION

  1. Log in to your WordPress Dashboard
  2. Navigate to the ‘AndroPress Rest’ in the Dashboard
  3. On the ‘Generate New’ tab , enter your ‘App Name’ and generate ‘App Key’ and click ‘Submit’
  4. Click on the ‘My Apps’ tab to view your Apps
  5. Click on the App Name to view APP KEY
  6. Copy the App Key
  7. Use this key while requesting the API

评价

此插件暂无评价。

贡献者及开发者

「AndroPress REST API」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • initial stable release

1.1

  • dialog modification

1.2

  • woocommerce product rest api

1.3

  • category_count

1.4

  • posts on category