json - Use flipkart API in django -
i want fetch product data flipkart flipkart provide product feed api. wanted know how use json or xml provided fetch data site preferably in django. please explain explicitly have no idea on how this.
here link flipkart api: http://www.flipkart.com/affiliate/apifaq
hope helps.
import urllib2 def your_function(): response = urllib2.urlopen("https://affiliate-api.flipkart.net/affiliate/product/xml?id=xxx") json_data = response.read() return json_data # use in of views read json product details
Comments
Post a Comment