Skip to content

Commit

Permalink
Merge pull request #64 from Medusis/master
Browse files Browse the repository at this point in the history
Region information for readme.md
  • Loading branch information
dlo committed Sep 20, 2017
2 parents b694f95 + 2b75578 commit 3689e53
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,20 @@ Usage
amazon = bottlenose.Amazon(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG)
```

##### Endpoint

The default Region is the US (`webservices.amazon.com`). To specify a different endpoint
simply set the Region parameter with the request. For example to specify the French
endpoint (`webservices.amazon.fr`) set the Region parameter to 'FR':

```python
amazon = bottlenose.Amazon(AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_ASSOCIATE_TAG, Region='FR')
```
Supported values for the Region parameter are CA, CN, DE, ES, FR, IN, IT, JP, UK, and US (default).

Your Amazon Product Advertising account (AWS_ASSOCIATE_TAG) mut exist for the given endpoint
or you'll get an HTTP 400 error ('Bad Request').

##### Search for a Specific Item

```python
Expand Down

0 comments on commit 3689e53

Please sign in to comment.