api-github-wrapper
v1.0.3
Published
A wrapper for https://api.github.com
Downloads
3
Maintainers
Readme
api-github-wrapper
A wrapper for https://api.github.com
Clients
.Token({token: 'your_token'})
.Regular()
Token
const apiGithubWrapper = require("api-github-wrapper")
const client = new apiGithubWrapper.Client.Token({
token: `Your_Token`
})
Functions
.getCurrentUser()
.getKeys()
.getNotifactions()
.getOrgAuthed(String: org)
.getOrgAuthed(String: org)
.getOrgTeamsAuthed(String: org)
.getRepoAuthed(String: owner, String: repo)
.getEmojis()
.getFollowers(String: user)
.getFollowing(String: user)
.getOrg(String: org)
.getOrgTeams(String: org)
.getRateLimit()
.getReceivedEvents(String: user)
.getRepo(String: owner, String: repo)
.getUser(String: user)
Regular
const apiGithubWrapper = require("api-github-wrapper")
const client = new apiGithubWrapper.Client.Regular()
Functions
.getEmojis()
.getFollowers(String: user)
.getFollowing(String: user)
.getOrg(String: org)
.getOrgTeams(String: org)
.getRateLimit()
.getReceivedEvents(String: user)
.getRepo(String: owner, String: repo)
.getUser(String: user)