We would like to hack together a quick PHP API. We have a database and can connect to that without a problem but we need assistance getting something like this functioning.
Example: [url removed, login to view]
- create a quick script like the above the above (or a better example off the shelf) that allows the code to function like an API
- place script on our shared hosting account and test with mod rewrite functionality (eg /users/1
- Include example code that returns hard code values in json structure for
a. "/users" ( a listing of users with hardcode data)
b. "/users/1" (some example data of a user)
For someone who knows what they are doing we estimate this is an hours work, but we need this done within the next 24 hours, preferably sooner.
We will provide credentials for hosted space once project awarded.
We may have a few questions following completion and would appreciate one or two responses to get us going.