JSON API Cincopa
JSON API Cincopa plugin extends the JSON API Plugin with a new Controller to provide Cincopa Easy Albums Listing for any user. This plugin is for WordPress/Mobile app developers who want to use Cincopa Easy Albums Plugin in conjunction with JSON API plugin as media gallery for their mobile app. Feat
About this tool.
JSON API Cincopa plugin extends the JSON API Plugin with a new Controller to provide Cincopa Easy Albums Listing for any user. This plugin is for WordPress/Mobile app developers who want to use Cincopa Easy Albums Plugin in conjunction with JSON API plugin as media gallery for their mobile app.
Features include:
- Easy Albums Listing
- Easy Albums Items Listing
The plugin was created to make available Cincopa Easy Albums Plugin Media listing for mobile apps via JSON API Plugin.
Hope this will help some.
For details, please check this: http://www.parorrey.com/solutions/json-api-cincopa/
Getting started.
First you have to install the JSON API Plugin (https://wordpress.org/extend/plugins/json-api/installation/).
Then install Cincopa Plugin: Easy Albums – Buddypress users create and share images, video and audio albums – the easy way. (https://wordpress.org/plugins/buddypress-easy-albums-photos-video-and-music-next-gen/)
In order to use Cincopa Easy Albums plugin, you need a Cincopa API key that you can get from the Cincopa website by registering an account at https://www.cincopa.com/
To install JSON API Cincopa just follow these steps:
- 01Upload the folder “json-api-cincopa” to your WordPress plugin folder (/wp-content/plugins)
- 02Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer
- 03Activate the controller through the JSON API menu found in the WordPress admin center (Settings -> JSON API)
Frequently asked questions.
- There are following methods available: albums, album_items
Method: albums
It needs valid ‘user_id’ var.
http://localhost/api/cincopa/albums/?user_id=1
Method: album_items
It needs ‘fid’ var. http://localhost/api/cincopa/album_items/?fid=AgCAn_Zvs6Zl
To get video in flv format, http://localhost/api/cincopa/album_items/?fid=AgCAn_Zvs6Zl&format=flv
To get video in transcoded mp4 720p version uploaded format, http://localhost/api/cincopa/album_items/?fid=AgCAn_Zvs6Zl&format=mp4