forked from socrata/soda-php
-
Notifications
You must be signed in to change notification settings - Fork 0
A simple library to make it easier to access SODA services from PHP
nelsonmc/socrata-php
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Socrata - Basic PHP Library Updated 2010-04-26, Chris Metcalf, chris.metcalf (at) socrata.com This library provides a simple wrapper for accessing some of the features of the Socrata Open Data API from PHP. Currently it only supports HTTP GET operations, but in the future it will support other methods as well. The library is very simple. To access the Socrata API, you first instantiate a "Socrata" object, passing in the API base URL for the data site you wish to access. The Base URL is always the URL for the root of the datasite, with "/api" added to the path (ex: http://www.socrata.com/api or http://data.medicare.gov/api). Then you can use its included methods to make simple API calls: $socrata = new Socrata("http://data.medicare.gov/api"); $response = $socrata->get("/views/abcd-2345/rows.json"); The library also includes a simple example application, which retrieves rows from a dataset and dumps them in a simple table.
About
A simple library to make it easier to access SODA services from PHP
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- PHP 100.0%