github-touch

1.1.1 • Public • Published

github-touch - versiondownload

docs npm

quick docs

Installation

you must install github-touch first via npm package and call github-touch - read this

npm i github-touch
const GithubTouch = require("github-touch")

Documentations

.searchTopic()

search any topic in github

parameters: Query

return: JSON

.searchTopic('github')

.getUser()

get a github user information

parameters: Username

return: Object

.getUser('Vins2106')

.getUserRepos()

get a user repositories

parameters: Username, ?RepoName

return: JSON, ?Object

.getUserRepos('Vins2106')

.getUserGists()

get a user gists

parameters: Username, ?GistId

return: JSON, ?Object

.getUserGists('Vins2106')

.getOrg()

get a github organization

parameters: OrganizationName

return: Object

.getOrg(bellshade')

.getOrgRepos()

get a github organization repositories

parameters: OrganizationName, ?RepoName

return: JSON, Object

.getOrgRepos('bellshade')

.getOrgTeams() (disabled)

get a github organization teams

parameters: OrganizationName

return: JSON

.getOrgTeams('bellshade')

/github-touch/

    Package Sidebar

    Install

    npm i github-touch

    Weekly Downloads

    0

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    7.81 kB

    Total Files

    4

    Last publish

    Collaborators

    • vincentsaerang