https://github.com/ehanlin/github-reporter
https://github.com/ehanlin/github-reporter
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ehanlin/github-reporter
- Owner: eHanlin
- License: mit
- Created: 2018-04-30T12:44:52.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-02T06:30:36.000Z (about 8 years ago)
- Last Synced: 2025-06-22T11:08:04.997Z (12 months ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[](https://travis-ci.org/eHanlin/github-reporter)
github-reporter
================
It's a convenient tool to help you list your commits and issues.
## API
### listReport(own, repo, branch, author, since, until)
List your commits and issues. For example:
```js
var githubReporter = require('github-reporter');
var promise = githubReporter.listReport('own', 'your repo', 'your branch', 'author', '2018-03-01T00:00:00', '2018-03-31T23:59:00');
promise.then((result)=>{
console.log(result);
});
```
### setAccessToken(accessToken)
Set your access token.
```js
var githubReporter = require('github-reporter');
github.setAccessToken('your token');
```