Using PHP with APIs
Posted: Wed Apr 30, 2008 1:52 pm
Greetings,
I know little about PHP, so forgive me if I misspeak.
Alright, we are contracted with Vovici.com and use their hosted survey solution software. They have a set of APIs that allow us to get access to the data in the database. I need to create a front end that allows users to login and see how many surveys they have completed, how many they need to complete, and when they took them.
These APIs look something like this:
As little as I know about PHP, I know even less about APIs except that Visual Studio uses them very easily. I was told that would be the easiest solution to work with these, but wanted an alternative.
If anyone can point me in the direction of something that might help me use PHP with these APIs, I would appreciate it. I have searched Google but really don't know what I am looking for I guess.
Thanks in advance.
- Dan
I know little about PHP, so forgive me if I misspeak.
Alright, we are contracted with Vovici.com and use their hosted survey solution software. They have a set of APIs that allow us to get access to the data in the database. I need to create a front end that allows users to login and see how many surveys they have completed, how many they need to complete, and when they took them.
These APIs look something like this:
Code: Select all
POST /ws/projectdata.asmx HTTP/1.1
Host: efm.sandbox.vovici.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.perseus.com/Pdc.WS/AddResponse"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<AddResponse xmlns="http://www.perseus.com/Pdc.WS">
<projectId>int</projectId>
<dataString>string</dataString>
</AddResponse>
</soap:Body>
</soap:Envelope>If anyone can point me in the direction of something that might help me use PHP with these APIs, I would appreciate it. I have searched Google but really don't know what I am looking for I guess.
Thanks in advance.
- Dan