I want to create Magento store Android app using PhoneGap. I found Magento's XML-RPC is the best option to create an API but now how I can call this API using only JavaScript and HTML ?
So it is sure my case I have to use JavaScript to use the API.So there is two options I think
- If yes then how to use ?
- if No then what's option?
Best Answer
Yes, you can
you can call magento's xmlrpc apis using jQuery XML-RPC library.
first is simple jquery library and second library file you can get from here:
http://jquery-xml-rpc.readthedocs.io/en/latest/index.html
Here is two type of example of this call.
1. Login Call
2. After Login Calls