call xml-rpc api using php

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mailbill
    New Member
    • May 2010
    • 4

    call xml-rpc api using php

    I saw a http://foxrate.org/
    They gave me a refference to use their api but I am newbie. How do I call this?
  • Atli
    Recognized Expert Expert
    • Nov 2006
    • 5062

    #2
    Hey.

    I've never used that service, but it seems simple enough. You just need to make a XML-RPC call to their server, and read the results. There seem to be a couple of tools available to do that. You can find XML-RCP in the manual, or this one on SourceForge. (Note, I've never used either of them, so I know no more about them than you do at this point.)

    You could also, of course, simply send the request manually. The protocol is simple enough; just a basic HTTP request with a XML body. (The exact request/response formats are on the page you posted.) - To do this, take a look at the fsock_open function and the SimpleXML class.

    Comment

    • mailbill
      New Member
      • May 2010
      • 4

      #3
      thanx friend....

      Comment

      Working...