Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 333 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 333 Bytes

keepa

Fetch a product data by ASIN:

import keepa

ASIN = 'B0009F3PQ2'
KEEPA_API_KEY = '***********'

api = keepa.KeepaAPI(KEEPA_API_KEY)
print('Tokens Left:', api.tokens_left())

product = api.products([ASIN])['products'][0]

print(product['asin'])
print(product['title'])
print('Tokens Left:', api.tokens_left())