3.0.0 • Published 8 years ago

github-gists v3.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

github-gists Build Status

Get all gists from a GitHub user

Install

$ npm install --save github-gists

Usage

const githubGists = require('github-gists');

githubGists('johndoe').then(data => {
	console.log(data);
	//=> [{url: https://api.github.com/gists/1234567', ...}, ...]
});

API

githubGists(user, options)

user

Type: string

Username to fetch gists from.

options

token

Type: string

Token to authenticate with. Use this to increase the request count. GitHub supports up to 60 unauthenticated request per hour.

If you don't have a token you can generate a new one here.

Related

License

MIT © Kevin Mårtensson

3.0.0

8 years ago

2.0.0

8 years ago

1.0.1

9 years ago

1.0.0

9 years ago