Constructor
new Github(options)
- Source:
- See:
- To Do:
-
- Implement the rest of methods
Example
const github = new Github({
username: 'fazt',
token: 'xyz123'
});
const repositories = github.getRepositories();
Parameters:
| Name | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Methods
getRepositories(options) → {Array.<Object>}
List of all Public User's Repositories
Parameters:
| Name | Type | Description | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
Returns:
An array of public repositories
- Type
- Array.<Object>