Open311 PHP library updated for GeoReport v2
PHP
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
APIBaseClass.php
README.markdown
TestOfOpen311Api.php
license.txt
open311Api.php

README.markdown

Overview

Open 311 API

http://wiki.open311.org/API

Updated for GeoReport version 2.

Usage

get_service_list();

// This is broken. The example url on web page is broken.

echo $new->get_service_definition('033');

// pass numbers as strings to avoid problems

echo $new->get_service_requests();

echo $new->get_service_request('123456');

// hard to test post

// Debug information
die(print_r($new).print_r(get_object_vars($new)).print_r(get_class_methods(get_class($new))));

?>