github icon indicating copy to clipboard operation
github copied to clipboard

A higher-level wrapper around the Github API. Intended for the browser.

Results 153 github issues
Sort by recently updated
recently updated
newest added

This issue will track all pagination-related issues. Our goal is to support both loading everything, as well as passing a token through and managing paging yourself.

Added optional manual paging of search. Closes #562.

Organizations.listMembers() used _request() instead of _requestAllPages(), unlike other similar methods.

#367 it is slow due to search for all items ,

enhancement
needs tests
PRs welcome

In the [documentation](http://github-tools.github.io/github/docs/3.1.0/Repository.html#writeFile) about `Repository.writeFile`, the `options` parameter is specified as optional. Despite this, the function fails if no `options` object is passed and throws this error: ``` TypeError: Cannot...

# Reproduction ```js const assert = require('assert') const Github = require('github-api') const github = new Github() ;(async () => { const repo = github.getRepo('vuejs', 'rfcs') const all = (await repo.listPullRequests({...

We will need some solid examples of paging requests, as well as an example where the library handles paging.

PRs welcome
easy pull request

Aside from tests which most tend to ignore and go directly with actual testing, it would be nice to have more actual api examples to get a handle or familiarity...

PRs welcome
easy pull request

When using `listBranches()` on a repository with _over_ 30 branches, I only get 30 branches in the response. The response includes the page information: ``` link: '; rel="next", ; rel="last"',...

Since [email protected] the prepare script is called when the library is installed from github url. Aim of the script is to build distribution files. See https://github.com/npm/npm/issues/3055