コード例 #1
0
 def test_pepperjam_download(self):
     apikey = ''
     path = 'http://api.pepperjamnetwork.com/20120402/publisher/creative/product/'
     path = path + '?apiKey=' + apikey + '&format=csv&programIds=6486'
     downloader = ApiDownloader()
     result = downloader.download(path)
     self.assertEqual('downloads/', result)
コード例 #2
0
 def test_googlefeed_download(self):
     path = 'https://www.joefresh.com/ca/feeds/GoogleProductsUS'
     downloader = ApiDownloader()
     result = downloader.download(path)
     self.assertEqual('downloads/GoogleProductsUS', result)
コード例 #3
0
 def test_dailylook_download(self):
     path = 'https://www.dailylook.com/product.xml'
     downloader = ApiDownloader()
     result = downloader.download(path)
     self.assertEqual('downloads/product.xml', result)