You can use two simple functions to save data from amazon into your database and retrieve it. Settings can be found under Settings
-> Simple Amazon
.
Can be used to retrieve informations from products you saved with devhats_amazon_get_product();
.
$asin = 'Product ASIN';
devhats_amazon_get_product($asin);
Can be used in a wordpress filter for saving meta box information (asin inside your posts) into database.
$asin = 'YOUR_ASIN';
devhats_amazon_update_product($asin);
https://www.kritzelblog.de/ - for the idea
https://partnernet.amazon.de/ - for the api
https://github.com/YahnisElsts/ - for the update checker