Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
karer committed Dec 30, 2018
1 parent 146a94f commit ae8da5c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Powerful async/await based Node.js implementation of [OPSkins WAX ExpressTrade](

Stop wasting time on coding endpoint communication, event polling and bothering with two factor authentication - just pass your api key with secret and use methods out-of-the-box.

### INFO FOR v.1.1: API has changed a lot from now - please update your code before updating wax-expresstrade library to the newest version.

##

## Installation

npm i wax-expresstrade --save
Expand Down Expand Up @@ -41,7 +45,11 @@ const appId = 1 // VGO
const mySkins = await API.IUser.GetInventory({ appId })
const anotherOneSkins = await API.ITrade.GetUserInventory({ uid: 72789, appId })

console.log(`You have ${mySkins.items.length} skins and your friend has got ${anotherOneSkins.items.length} ones!`)
console.log(
`You have ${mySkins.items.length} skins and your friend has got ${
anotherOneSkins.items.length
} ones!`
)
```

## Methods
Expand Down

0 comments on commit ae8da5c

Please sign in to comment.