DataWeave provides data in various sectors of web like data for coupons, weather updates, population, earthquakes etc.. Gives an easy access to APIs, dashboards, alerts and visualization.
Services
- Telecom Data API: Provides details of recharge coupons from various telecom operators across all circles.
- E-commerce price intelligence; Provides prices from various stores for the selected product, useful for comparison based websites.
- Coupons codes API: Provides coupon codes with their details from all online retailers.
- For more API features visit http://dataweave.in/apis
How to use DataWeave APIs
- Grab API key from next page of sign up
How to use DataWeave API with PHP
An example usage of DataWeave APIs with PHP, here you can even use PHP cURL to parse the data.
<?php $data = file_get_contents("http://api.dataweave.in/v1/price_intelligence/findProduct/?api_key=b20a79e582ee4953ceccf41ac28aa08d&product=Nokia+101&page=1&per_page=10"); echo "<pre>";print_r(json_decode($data)); ?>
The above code prints the data in PHP array, we can use it anywhere later.
I hope this post is helpful and thanks.
The post DataWeave – Intelligent Data for your Apps appeared first on W3easystep.