OpenDc311:getServices()

  • Description: A method for retrieving a list of services provided by DC 311.
  • Arguments: none
  • Returns: An object with services available by API for citywide 311.
1
2
3
4
5
6
api_key = 'assigned-api-key';

echo '<pre>';
print_r( $octo-&gt;getServices() );
echo '</pre>';
?&gt;

Result: