Files: d456a6cc8589489e558e6164750474ed2cfc961e / test / test-79-npm / github / github.js
251 bytesRaw
1 | ; |
2 | |
3 | var GitHubApi = require('github'); |
4 | var github = new GitHubApi(); |
5 | github.users.getForUser({ |
6 | username: 'igorklopov' |
7 | }, function (error, res) { |
8 | if (error) return; |
9 | if (res.data.name === 'Igor Klopov') { |
10 | console.log('ok'); |
11 | } |
12 | }); |
13 |
Built with git-ssb-web