These are web APIs written in PHP for use with Spaz clients. They may be useful to others as well.
The code here is really just the custom
directory from a FRAPI install. FRAPI is a PHP-based application for building RESTful APIs quickly. It's really awesome.
There is also a tests
directory, where functional tests are done with SimpleTest. Coverage is about -10% atm.
- Anything FRAPI requires
- Currently, we're just using APC for caching. We may move to Memcached at some point, but not sure.
- pecl_http
- libcurl extension
- This may go away as we migrate everything pecl_http
- Install FRAPI
- Once FRAPI is installed, follow the steps here or overwrite the existing
FRAPI_PATH/src/frapi/custom
with ourcustom
directory - In theory, it's now working.
Special thanks to David Coallier and echolibre for doing most of the work getting the Spaz Web APIs going.