[wordpress插件] AndroPress REST APIAndroPress REST API

wordpress 插件 文章 2020-02-18 10:20 603 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Get REST API response as JSON to android app, using token authenticated request .

使用令牌身份验证请求,将REST API响应以JSON格式获取到Android应用。

AndroPress is a secure way of requesting and receiving JSON data from your website to android app using REST service .

AndroPress是使用REST服务从您的网站向android应用请求和接收JSON数据的安全方式。

You can request for :

您可以要求:

    • categories : https://yoursite.com/wp-admin/admin-post.php?action=andropress_rest_api&key=YOUR_APP_KEY&title=category
    • 类别: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
    • 最新帖子: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
    • 类别帖子: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
    • 搜索结果: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
    • 具有偏移量的帖子: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
    • 带有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.

    例如,您可以在网址中传递“ category_name”和“ posts_per_page”。

安装步骤

Using The WordPress Dashboard

使用WordPress仪表板

    1. Navigate to the ‘Add New’ in the plugins dashboard
    2. 导航至插件仪表板中的“添加新项”

    3. Search for ‘andropress-rest-api’
    4. 搜索“ andropress-rest-api”

    5. Click ‘Install Now’
    6. 点击“立即安装”

    7. Activate the plugin on the Plugin dashboard
    8. 在“插件”信息中心上激活插件

    Uploading in WordPress Dashboard

    在WordPress仪表板中上传

      1. Navigate to the ‘Add New’ in the plugins dashboard
      2. 导航至插件仪表板中的“添加新项”

      3. Navigate to the ‘Upload’ area
      4. 导航到“上传”区域

      5. Select andropress-rest-api from your computer
      6. 从计算机中选择 andropress-rest-api

      7. Click ‘Install Now’
      8. 点击“立即安装”

      9. Activate the plugin in the Plugin dashboard
      10. 在“插件”信息中心中激活插件

      CONFIGURATION

      配置

        1. Log in to your WordPress Dashboard
        2. 登录到WordPress仪表板

        3. Navigate to the ‘AndroPress Rest’ in the Dashboard
        4. 导航到仪表板中的“ AndroPress Rest”

        5. On the ‘Generate New’ tab , enter your ‘App Name’ and generate ‘App Key’ and click ‘Submit’
        6. 在“生成新的”标签上,输入您的“应用名称”并生成“应用密钥”,然后单击“提交”

        7. Click on the ‘My Apps’ tab to view your Apps
        8. 点击“我的应用”标签以查看您的应用

        9. Click on the App Name to view APP KEY
        10. 单击“应用程序名称”以查看APP KEY

        11. Copy the App Key
        12. 复制应用密钥

        13. Use this key while requesting the API
        14. 在请求API时使用此密钥

下载地址
https://downloads.wordpress.org/plugin/andropress-rest-api.1.4.zip
-EOF-

AI助手支持GPT4.0


国内超级便宜服务器

摸鱼人热门新闻聚合

钻级赞助商 我要加入

开发者在线工具

第三方支付技术请加QQ群

相关文章
[wordpress插件] CozimoCozimo
[wordpress插件] bSocialb社交
[wordpress插件] Drop A Hint For WooCommerce为WooCommerce投放提示
[wordpress插件] Advanced Plugin View高级插件视图
[wordpress插件] Cloudy Tags多云标签
随便看看
微信开放平台跟公众平台有什么区别? 3607
怎么添加小程序支付功能? 4516
教育科技公司申请微信支付被拒绝? 4798
微信公众号免300认证教程 5892
小程序已经上线,作为管理员无法在小程序数据助手查看数据? 5299
小程序广告组件通过审核,但是小程序内没有显示广告? 5067
企业微信通讯录账号被管理员误/恶意删除,怎么办? 9568
问题? 9047
如何快速搭建抽奖助手小程序(无需代码知识) 6177
许涛 大哥在吗, 要解冻小程序的时候提示信息主体不一致, 能帮忙看下吗? 7471