This PHP library is meant to be used with The City (Software to enable communication and community in your church).
It is possible to pull church needs, topics, events, prayers and albums from the Plaza so that you can use them as necessary.
Data pulled from The City is by default cached for 1 day (24 hours) so that subsequent requests are faster.
TheCity API docs thecity.zendesk.com/entries/359458-using-the-plaza-json-api
PHP >= 5.3
iconv: php.net/manual/en/book.iconv.php
Clone, fork or download the package.
require_once 'lib/the_city.php'; $the_city = new TheCity('mychurch'); $topics = $the_city->topics();
If you use WordPress there is a WordPress plugin that uses this library. github.com/thecity/plaza-wordpress
If you want to help out fork the project and send me a pull request. You can also send me feature requests.
This plugin is released under the MIT license. Please contact weshays (github.com/weshays) for any questions.