create a single page to make magento api
Method 1# Return Categories tree information
-
http://localhost/magento/web-api.php?route=random&limit=4&key=your_web_api_key /get-api.php?route=categories&parent=0&level=2&key=key1
-
Return Categories tree information
Method 2# Return Products list in category
-
http://localhost/magento/web-api.php?route=products&category=5&key=key1 /get-api.php?route=products&category=5&key=key1
-
Return Products list in category
Method 3# Return Random Products list
-
http://localhost/magento/web-api.php?route=random&limit=5&key=key1 /get-api.php?route=random&limit=5&key=key1
-
Return Random Products list
Method 4# Return product item
- http://localhost/magento/web-api.php?route=product&id=17&key=key1 /get-api.php?route=product&id=17&key=key1 2 Return product
from this help me to make magento rest api after make rest role and user in the magento put this in the root of the magento and this will help you make the api working in the magento.