thecity / thecity-plaza-php

A project to access The City Plaza API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The City Plaza PHP Library

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

Requirements

PHP >= 5.3

iconv: php.net/manual/en/book.iconv.php

Installing

Clone, fork or download the package.

Usage

Basic usage

require_once 'lib/the_city.php';
$the_city = new TheCity('mychurch');
$topics = $the_city->topics();

WordPress

If you use WordPress there is a WordPress plugin that uses this library. github.com/thecity/plaza-wordpress

Contributing

If you want to help out fork the project and send me a pull request. You can also send me feature requests.

License

This plugin is released under the MIT license. Please contact weshays (github.com/weshays) for any questions.

About

A project to access The City Plaza API


Languages

Language:PHP 68.7%Language:HTML 31.1%Language:CSS 0.2%