Requires
- module:ofetch
- module:dotenv
Methods
(async, static) getGists(user) → {Promise.<{data: Array.<any>}>}
This function returns the gists object from the GitHub API for a given user
Parameters:
Name | Type | Description |
---|---|---|
user | string | Github username |
- Source
Returns:
Gists object
- Type:
- Promise.<{data: Array.<any>}>