Skip to content

Commit

Permalink
Cleanup README
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Braithwaite committed Dec 17, 2013
1 parent 001fe80 commit e7e6fe2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var nc = new NC({userAgent:'my-awesome-app/0.0.1 ( http://my-awesome-app.com )'}
Setting a custom `host`, `basePath` and `defaultPerPage` (if not set, the `defaultPerPage` is 50);

```javascript
var nc = new NC({host:'localhost', basePath:'/path/to/data/', defaultPerPage: 50});
var nc = new NC({host:'localhost', basePath:'/path/to/data/', defaultPerPage:100});
```

## Resources
Expand Down Expand Up @@ -49,7 +49,7 @@ nc.artist(1602787, function(err, response){
Returns a list of [Releases][2] and [Masters][3] associated with the `artist`. Accepts Pagination parameters.

```javascript
nc.artistReleases(1602787, {page: 2, per_page: 10}, function(err, response){
nc.artistReleases(1602787, {page:2, per_page:10}, function(err, response){
console.log(response);
});
```
Expand Down Expand Up @@ -134,7 +134,7 @@ nc.image('A-1602787-1368176977-5588.jpeg', function(err, response){
The [Search][6] resource lists objects in the database that meet the criteria you specify.

```javascript
nc.search({type:'release', country:'UK', page: 2, per_page: 3}, function(err, response){
nc.search({type:'release', country:'UK', page:2, per_page:3}, function(err, response){
console.log(response);
});
```
Expand Down

0 comments on commit e7e6fe2

Please sign in to comment.