Nobody
Nobody

Reputation: 420

Connect Android app with WordPress site via json

How to connect a WordPress site with an Android app via json results. Does it require plug-ins to be added in the site. If so what? And does each plug in have different way of retrieving json results? And when the site is in the developmental stage how would you test the json results. Please excuse me if the question is amateur. Any help would be useful. Thx

Upvotes: 2

Views: 6239

Answers (2)

Anfuca
Anfuca

Reputation: 1329

Actually, the REST API is included in wordpress in its 4.7 version. No plugins needed!!

Post announcement

API Documentation

Upvotes: 2

Nir Duan
Nir Duan

Reputation: 6392

How to connect Android app with Wordpress site

This is very general question so I'll refer you to the best practice libraries to perform this task.
We'll use basic JSON REST API over Http (guide) to talk between our site and our mobile app.

On the Site side -
Wordpress plugin to enable rest api from the site.(Guide with testing examples)

On the Android app side -
Retrofit - Very good open source library to pass json over http in android. (Guide)

Upvotes: 3

Related Questions