MCPcopy Index your code
hub / github.com/github-tools/github / getProfile

Method getProfile

lib/User.js:140–142  ·  view source on GitHub ↗

* Show the user's profile * @see https://developer.github.com/v3/users/#get-a-single-user * @param {Requestable.callback} [cb] - will receive the user's information * @return {Promise} - the promise for the http request

(cb)

Source from the content-addressed store, hash-verified

138 * @return {Promise} - the promise for the http request
139 */
140 getProfile(cb) {
141 return this._request('GET', this.__getScopedUrl(''), null, cb);
142 }
143
144 /**
145 * Gets the list of starred repositories for the user

Callers 1

user.spec.jsFile · 0.80

Calls 2

__getScopedUrlMethod · 0.95
_requestMethod · 0.80

Tested by

no test coverage detected