Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

AndroPress REST API

Beskrivning

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.

Skärmdumpar

  • Create App
  • View Apps
  • View App Key

Installation

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

Vanliga frågor

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

Recensioner

Detta tillägg har inga recensioner.

Bidragsgivare och utvecklare

”AndroPress REST API” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”AndroPress REST API” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.0

  • initial stable release

1.1

  • dialog modification

1.2

  • woocommerce product rest api

1.3

  • category_count

1.4

  • posts on category