Description Usage Arguments Value Examples
This function is used when requesting a collection of entities. GitHub sets a
maximum page size of 100, so if more are request multiple requests are made
and the results are combined. Each page uses gh_request()
to retrieve the
contents.
1 2 3 4 5 6 7 8 9 10 |
url |
(string) The address of the API endpoint. |
n_max |
(integer, optional) Maximum number to return. Default: 1000. |
page_size |
(integer, optional) The size of each page. Default: 100. |
headers |
(character, optional) Headers to add to the request. Default:
|
accept |
(string, optional) The mime format to accept when making the
call. Default: |
token |
(string or Token, optional) An authorisation token to include
with the request. If |
proxy |
(character, optional) The proxy server to use to connect to the
github API. If |
... |
Parameters passed to |
A github
list object consisting of the response, parsed into a
list, with the attributes:
url: The URLs the request was sent to
request: The type of HTTP request made
status: The HTTP status code returned
header: The HTTP header returned
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.