Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wgpsutherland/gistory
Returns history data from GitHub for a given user.
https://github.com/wgpsutherland/gistory
Last synced: 4 months ago
JSON representation
Returns history data from GitHub for a given user.
- Host: GitHub
- URL: https://github.com/wgpsutherland/gistory
- Owner: wgpsutherland
- Created: 2014-11-03T14:18:44.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-11-04T22:36:39.000Z (about 10 years ago)
- Last Synced: 2024-08-09T14:34:03.381Z (4 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.org/package/gistory
- Size: 156 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gistory
A Node.js tool that returns the history of a given GitHub user as a .json file.
##Installation
Install with the Node.JS package manager [npm](http://npmjs.org/):
$ npm install gistory
or
Install via git clone:
$ git clone git://github.com/wgpsutherland/gistory.git
$ cd gistory
$ npm install##Use
In your project or in the node command line you can do the following:
var gistory = require('gistory');
gistory.run('wgpsutherland'); // the string can be any valid GitHub usernameThis will create a file called history.json in the root directory which looks something like this:
[
{
"name": "wgpsutherland/github-user-history",
"date": "2014-11-03T23:14:39.000Z",
"type": "PushEvent"
},
{
"name": "wgpsutherland/github-user-history",
"date": "2014-11-03T23:04:13.000Z",
"type": "PushEvent"
},
{
"name": "wgpsutherland/github-user-history",
"date": "2014-11-03T19:43:21.000Z",
"type": "PushEvent"
}...
]