You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-22Lines changed: 41 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,56 +3,54 @@
3
3
4
4
This API supported Amazon Marketplace Web Service(MWS)'s standard REST-style API that accepts/returns JSON requests and Here is the [API reference] (http://docs.developer.amazonservices.com/en_IN/dev_guide/DG_IfNew.html)
5
5
6
-
You can find [examples here](https://github.com/bhushankumarl/amazon-mws/tree/master/examples). This will help you for faster implmentation of Amazon Marketplace Web Service's(MWS).
6
+
You can testify API through [Amazon MWS Scratchpad](https://mws.amazonservices.in/scratchpad/index.html) without any installation.
7
+
8
+
You can find [examples of JavaScript and TypeScript here](https://github.com/bhushankumarl/amazon-mws/tree/master/examples). This will help you for faster implementation of Amazon Marketplace Web Service's(MWS).
7
9
8
10
##### It does supports EcmaScript 5, EcmaScript 6, EcmaScript 8, TypeScript, async-await, Promises, Callback !
11
+
##### It does also supports for AWS Lambda like serverless cloud function call.
9
12
##### It supports pure JSON response.
10
13
##### All methods support Promise and Callback both.
11
14
##### Please Feel free to create Issue for any help !
15
+
##### All developers/contributors are requested to open Pull Request/Merge Request on development branch. Please make sure Test Cases be passed.
12
16
13
17
## Installation
14
18
```bash
15
-
$ npm install amazon-mws --save
19
+
npm install amazon-mws --save
16
20
```
17
21
18
22
## Test Cases
19
23
```bash
20
-
$ npm run test.mocha
24
+
npm run test.mocha
21
25
```
22
26
23
27
## Debugging
24
-
25
-
Run the DEBUG:
26
-
27
28
```bash
28
29
export DEBUG=MWS:*
29
30
```
30
31
31
-
32
32
## Usage
33
-
34
33
```bash
35
34
export AWS_ACCESS_KEY_ID=KEY
36
35
export AWS_SECRET_ACCESS_KEY=SECRET
37
36
```
38
37
39
38
## Configuration Using JavaScript
40
-
41
-
Set your Access Key and Access Secret.
42
-
43
39
```js
44
40
var amazonMws =require('amazon-mws')('AWS_ACCESS_KEY_ID','AWS_SECRET_ACCESS_KEY');
45
41
```
46
42
47
43
## Configuration Using TypeScript
48
-
49
-
```
44
+
```typescript
50
45
import*asMwsApifrom'amazon-mws';
51
46
52
47
const amazonMws =newMwsApi();
53
48
amazonMws.setApiKey(accessKey, accessSecret);
54
49
```
55
50
51
+
## Pull Request
52
+
- Contributors can send their Pull Request to `development` branch.
53
+
- Kindly validate test cases & linting before opening new PR.
0 commit comments