Skip to content

Commit

Permalink
[doc] readme example / install
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck committed Nov 20, 2011
1 parent 100e438 commit 0dce23e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Readme.md
Expand Up @@ -2,6 +2,25 @@

A simple API for Nexmo in Node.js

## Example

```javascript
var client = require('nexmo-api').createClient({
key: '...',
secret: '...'
});

client.getBalance(function printBalance(error, result) {
console.log('balance', result.value);
});
```

## Installation

```bash
npm install nexmo-api
```

## Contributors

Bradley Meck
Expand Down

0 comments on commit 0dce23e

Please sign in to comment.