Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
}
```