Google Summer of Code / Re: GSoC 2015 : New API : Open Supporter Data Interface (OSDI) Implementation« Last post by Anudit Verma on Today at 03:33:53 pm »
After the last Project check-in Hangout meeting on 3rd July 7:30 am IST with the team we have decided to push the development process forward so that it would gain more momentum as valuable time was lost in the setup of development environment. Also I was unable to retrieve the data from CiviCRM through HAL-browser which didn't allow me to deliver my commitment of presenting the JSON code for retrieving the sample data from CiviCRM via hyper links.
Joe Murray decided to hold another meeting for the next day according to Eastern time for resolving these issues. On the same day at 6:40 pm IST, I conversed with him along with Edsel Roque who was invited to help me through the problem, Edsel is a member of JMA consulting from Mumbai, he is associated with CiviCRM for more than 4 years now. Joe Murray had other commitments for that hour so I worked with Edsel and he guided me through on retrieving the data through REST calls. I learned that in order to expose the data from CiviCRM we need some key based authentication so we decided to implement CiviCRM site and API keys in the REST URL. Thereafter I got to know about adding my own API key into the CiviCRM's database (I used mysql on the terminal in order to update the API key in the CiviCRM database). Further CiviCRM site key was retrieved which can be viewed in the file civicrm.settings.php located in the default directory under sites. After incorporating both the keys in the REST URL (as viewed in API Explorer) I was successfully able to view the exposed data when the complete URL was opened in a new browser tab window (local HAL-browser may not work due to CORS restrictions). I am very much thankful to Edsel for helping me resolved the issue I had.
Now I will be working on presenting the data in the OSDI format and would report about the same to Joe Murray in a meeting scheduled on Monday.