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
Installation
Using The WordPress Dashboard
- Navigate to the ’Add New’ in the plugins dashboard
- Search for ’andropress-rest-api’
- Click ’Install Now’
- Activate the plugin on the Plugin dashboard
Uploading in WordPress Dashboard
- Navigate to the ’Add New’ in the plugins dashboard
- Navigate to the ’Upload’ area
- Select
andropress-rest-api
from your computer - Click ’Install Now’
- Activate the plugin in the Plugin dashboard
CONFIGURATION
- Log in to your WordPress Dashboard
- Navigate to the ’AndroPress Rest’ in the Dashboard
- On the ’Generate New’ tab , enter your ’App Name’ and generate ’App Key’ and click ’Submit’
- Click on the ’My Apps’ tab to view your Apps
- Click on the App Name to view APP KEY
- Copy the App Key
- Use this key while requesting the API
Vanliga frågor
- Installation Instructions
-
Using The WordPress Dashboard
- Navigate to the ’Add New’ in the plugins dashboard
- Search for ’andropress-rest-api’
- Click ’Install Now’
- Activate the plugin on the Plugin dashboard
Uploading in WordPress Dashboard
- Navigate to the ’Add New’ in the plugins dashboard
- Navigate to the ’Upload’ area
- Select
andropress-rest-api
from your computer - Click ’Install Now’
- Activate the plugin in the Plugin dashboard
CONFIGURATION
- Log in to your WordPress Dashboard
- Navigate to the ’AndroPress Rest’ in the Dashboard
- On the ’Generate New’ tab , enter your ’App Name’ and generate ’App Key’ and click ’Submit’
- Click on the ’My Apps’ tab to view your Apps
- Click on the App Name to view APP KEY
- Copy the App Key
- 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