Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/actuallymentor/universal-amazon-product-link
Open source alternative for creating a universal amazon link that redirects the user to the closest amazon.
https://github.com/actuallymentor/universal-amazon-product-link
Last synced: 4 days ago
JSON representation
Open source alternative for creating a universal amazon link that redirects the user to the closest amazon.
- Host: GitHub
- URL: https://github.com/actuallymentor/universal-amazon-product-link
- Owner: actuallymentor
- Created: 2021-01-03T10:47:02.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T17:49:02.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T23:01:26.582Z (7 months ago)
- Language: JavaScript
- Size: 2.03 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 18
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Amazon universal product link
## Api reference
### GET /product/
```js
{
id: String( 'Amazon product ID' ), // Amazon product ID, found after /dp/ in url
counter: Number( 5 ), // Number of seconds to wait before auto-redirect
continent: String( 'continent=AF:.co.uk,AS:.sg,EU:.de,NA:.com,SA:.com.mx,OC:.com.au,AN:.com' ), // Continent-based redirects ( are overridden if there are country-specific redirects or overrides )
blacklist: String( 'blacklist=.com,.co.uk' ), // Blacklist of amazon domains to show in manual selection list
overrides: String( 'overrides=LU:.com' ), // Countrycode:tld pairings to override, comma separated
s: Boolean( 'true' ), // Silent mode, no countdown
d: Boolean( 'true' ) // Debug mode, no auto redirect
}
```