Skip to content

Commit 2c46178

Browse files
update readme with working example
1 parent 07163c9 commit 2c46178

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ npm install testingbot-api
1111
## Using the wrapper
1212

1313
```javascript
14-
var testingbot = require('testingbot-api');
14+
var TestingBot = require('testingbot-api');
1515

16-
var myAccount = new SauceLabs({
16+
var tb = new TestingBot({
1717
api_key: "your-tb-key",
18-
api_scret: "your-tb-secret"
18+
api_secret: "your-tb-secret"
1919
});
2020

21-
testingbot.getUserInfo(function(err, data) {
21+
tb.getUserInfo(function(err, data) {
2222
console.log(data);
2323
});
2424

0 commit comments

Comments
 (0)