I -completely- agree. Unfortunately building an API is slightly out of my technical skill set, but it's very high on my list of things to do! If you have any tips for how to go about developing one, I'm all ears (err...eyes?)!
Cool. Building a read-only API is actually pretty straightforward. Looks like you're using php, any framework?
Feel free to email me personally if you'd like some help on the matter. Depending on how much of your codebase you'd be willing to share, I can hack something out for you if you want, I'm really open to anything, I like being as active as I can in projects.
Depending on how your data is structured, it might be as simple as adding an apikey field to your user table then fetching all 101 goals relative to a given apikey.
Then you'd simply create a controller that accepted an apikey and returned a pure json view of your data. Something like:
This method is just like creating a webpage at /api only instead of sending back text/html you send back text/json
The page validates the apikey and you are free to pass any number of parameter to help you further manipulate the data.
You can check out http://pluspanda.com. I use this method in that site. Create an account by clicking on the big green button and see how the "install code" is just a request to my api controller. The code is actually a little more complex in that it sets up an entire widget environment via javascript and then does "jsonp" requests to fetch data. Sounds complicated but its really straightforward and COOL once you get the hang of it!
Let me know if you want some help with this. - Email is in the profile.
Feel free to email me personally if you'd like some help on the matter. Depending on how much of your codebase you'd be willing to share, I can hack something out for you if you want, I'm really open to anything, I like being as active as I can in projects.
Depending on how your data is structured, it might be as simple as adding an apikey field to your user table then fetching all 101 goals relative to a given apikey.
Then you'd simply create a controller that accepted an apikey and returned a pure json view of your data. Something like:
This method is just like creating a webpage at /api only instead of sending back text/html you send back text/json The page validates the apikey and you are free to pass any number of parameter to help you further manipulate the data.You can check out http://pluspanda.com. I use this method in that site. Create an account by clicking on the big green button and see how the "install code" is just a request to my api controller. The code is actually a little more complex in that it sets up an entire widget environment via javascript and then does "jsonp" requests to fetch data. Sounds complicated but its really straightforward and COOL once you get the hang of it!
Let me know if you want some help with this. - Email is in the profile.