Skip to content

Commit

Permalink
Define issues object & adjusts to issues usage
Browse files Browse the repository at this point in the history
  • Loading branch information
mattpass committed Sep 27, 2013
1 parent ff8e42b commit 8b43038
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![browser support](https://ci.testling.com/darvin/github.png)](https://ci.testling.com/darvin/github)
[![browser support](https://ci.testling.com/darvin/github.png)](https://ci.testling.com/darvin/github)


[![Build Status](https://travis-ci.org/darvin/github.png?branch=master)](https://travis-ci.org/darvin/github)
Expand Down Expand Up @@ -234,10 +234,14 @@ gist.update(delta, function(err, gist) {
```
## Issues API

To read all the issues of a given repository
```js
var issues = github.getIssues(username, reponame);
```

To read all the issues of a given repository

```js
github.getIssues(owner, repo, function(err, issues) {})
issues.list(options, function(err, issues) {});
```

## Tests
Expand Down

0 comments on commit 8b43038

Please sign in to comment.