php - WordPress Plugin: How to get data in JSON and use in android?
问题描述
I uploaded a plugin on a WordPress website. It is working fine and fetching data. I would like to use some part of that data in android as a web service. How can this happen? Is it even possible?
I downloaded plugin and search URL's from where plugin is getting data, but didn't find anything. I have downloaded the plugin, but am not understanding it.
解决方案
最简单的方法可能是使用这个插件。https://wordpress.org/plugins/json-api/ 它为外部资源创建一个api,也可以将wordpress内容导出为json。
推荐阅读
- javascript - javascript错误的重复循环
- ios - Uitableview单元格内的UItableview,内部uitableview不显示
- qt-creator - QtCreator doc中重叠的字母
- javascript - 如何在 Google Form 中为一个问题设置两个要求?
- angular - 在Angular 4中将API响应(对象)从组件解析到另一个组件
- dart - 如何在 Flutter 小部件测试中等待未来完成?
- java - 在java中获取ResultTable []的第一个元素
- c# - 选择的数据网格行显示错误“序列不包含匹配元素”
- android - android 3.1.3 中的依赖问题
- hadoop - 启动hadoop服务时ssh密钥不起作用