Skip to content

Commit 33b79cf

Browse files
author
Marc Littlemore
committed
Add examples to README
1 parent 69ec5b6 commit 33b79cf

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ Clone the git repository:
1212
git clone https://github.com/MarcL/AmazonProductAPI.git
1313
```
1414

15+
## Examples
16+
17+
I've added some simple examples in `examples.php`. To run them create a file called `secretKeys.php` containing your secret keys:
18+
19+
```php
20+
<?php
21+
$keyId = 'YOUR-AWS-KEY';
22+
$secretKey = 'YOUR-AWS-SECRET-KEY';
23+
$associateId = 'YOUR-AMAZON-ASSOCIATE-ID';
24+
?>
25+
```
26+
27+
and then run the examples with:
28+
29+
```shell
30+
php examples.php
31+
```
32+
1533
## Usage
1634
Include the library in your code:
1735

0 commit comments

Comments
 (0)