To Preparation WordPress wp-api, you have three setup steps: JSON REST API Authenticate Permalink JSON REST API Grab the latest version of JSON REST API on WordPress plugin
AppInventorはAndoridのApp作りに簡単な環境です。WordPressはWebコンテンツを作るに最適な環境。 AppInventor is a easy way to creating an Android app from web browser. WordPress is a best web content management tool. WP- REST-APIは、両者の長所を連携し、WordPressをAppInventorのWebサービスとして利用するためのAPIとして利用する。 WP- REST-API use you
API endpoint import http.client def main(): conn = http.client.HTTPConnection("wp-api.pw") conn.request("GET", "/wp-json/") res = conn.getresponse() print(res.status, res.reason) print(res.read()) conn.close() if __name__ == "__main__": main() Posts Get Post Delete Media
API endpoint [chen@luna ~]$ curl -l http://wp-api.pw/wp-json/ Posts Get The Posts endpoint returns a Post Collection containing a subset of the site’s posts. [chen@luna ~]$ curl -l http://wp-api.pw/wp-json/posts