import amazonproduct
from amazonproduct import API
import lxml
config = {
'access_key': 'AKIAIKLBJZJSC65EHZAA',
'secret_key': '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',
'associate_tag': 'kdhua-20',
'locale': 'us'
}

def itemLookup(asin):
  api = amazonproduct.API(cfg=config)
  result = api.item_lookup(asin, ResponseGroup= 'Large')

  for item in result.Items.Item:
    print (item.ItemAttributes.Title)
    print (item.OfferSummary.LowestNewPrice.FormattedPrice)
    print (item.DetailPageURL)
    return (item.ASIN)

  
def main():
  itemLookup('B00V2L5JRA')

if __name__ == '__main__':
  main()

@@ -60,159 +60,8 @@
 xml%0A
-config = %7B%0A'access_key': 'AKIAIKLBJZJSC65EHZAA',%0A'secret_key': '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',%0A'associate_tag': 'kdhua-20',%0A'locale': 'us'%0A
 %7D%0A%0Ad
@@ -115,14 +115,21 @@
 cfg=
-config
+~/.credential
 )%0A  

Update itemLookup.py