https://github.com/pixelbart/devhats-amazon
Simple wordpress plugin for using amazon product advertising api. Just for fun. Recommending: https://aawp.de/
https://github.com/pixelbart/devhats-amazon
Last synced: over 1 year ago
JSON representation
Simple wordpress plugin for using amazon product advertising api. Just for fun. Recommending: https://aawp.de/
- Host: GitHub
- URL: https://github.com/pixelbart/devhats-amazon
- Owner: pixelbart
- Created: 2019-01-21T14:14:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-03-17T14:12:35.000Z (over 6 years ago)
- Last Synced: 2025-01-19T16:35:06.939Z (over 1 year ago)
- Language: PHP
- Homepage:
- Size: 161 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Help
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`.
## Retriving data from database (array)
Can be used to retrieve informations from products you saved with `devhats_amazon_get_product();`.
```
$asin = 'Product ASIN';
devhats_amazon_get_product($asin);
```
## Saving data into your database
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);
```
## Credits
https://www.kritzelblog.de/ - for the idea
https://partnernet.amazon.de/ - for the api
https://github.com/YahnisElsts/ - for the update checker