I'm new to Magento and I'm developing a PhoneGap app using HTML5, CSS and Javascript. I searched many places and read Magento documentations, but couldn't get any example for authenticating, calling, getting results from the Magento APIs using javascript. I came to know that token-based authentications is needed and REST APIs are suitable for my purpose. Maily I have the following doubts.
- What are the settings I have to do in admin panel of Magento for accessing APIs.
- How to authenticate to Magento APIs in a page using HTML5 and Javascript.
- What are the APIs provided by Magento and how to call them in a page using HTML5 and Javascript.