API-CLI

 view release on metacpan or  search on metacpan

examples/pod/githubcl.pod  view on Meta::CPAN


=head3 DELETE /user/starred/:owner/:repo

    githubcl DELETE /user/starred/:owner/:repo <owner> <repo>

Unstar a repository

Parameters:

    owner  *  Name of a repository owner.
    repo   *  Name of a repository.      

=head3 DELETE /user/subscriptions/:owner/:repo

    githubcl DELETE /user/subscriptions/:owner/:repo <owner> <repo>

Stop watching a repository

Parameters:

    owner  *  Name of the owner. 
    repo   *  Name of repository.

=head3  GET

    githubcl  GET <subcommands>

GET call


=head3 GET /emojis

    githubcl GET /emojis

Lists all the emojis available to use on GitHub....


=head3 GET /events

    githubcl GET /events

List public events.


=head3 GET /feeds

    githubcl GET /feeds

List Feeds.


=head3 GET /gists

    githubcl GET /gists [options]

List the authenticated user's gists or if called a...

Options:

    --q-since    Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.    
                 Only gists updated at or after this time are returned.


=head3 GET /gists/:id

    githubcl GET /gists/:id <id>

Get a single gist.

Parameters:

    id  *  Id of gist.

=head3 GET /gists/:id/comments

    githubcl GET /gists/:id/comments <id>

List comments on a gist.

Parameters:

    id  *  Id of gist.

=head3 GET /gists/:id/comments/:commentId

    githubcl GET /gists/:id/comments/:commentId <id> <commentId>

Get a single comment.

Parameters:

    id         *  Id of gist.   
    commentId  *  Id of comment.

=head3 GET /gists/:id/star

    githubcl GET /gists/:id/star <id>

Check if a gist is starred.

Parameters:

    id  *  Id of gist.

=head3 GET /gists/public

    githubcl GET /gists/public [options]

List all public gists.

Options:

    --q-since    Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.    
                 Only gists updated at or after this time are returned.


=head3 GET /gists/starred

    githubcl GET /gists/starred [options]

List the authenticated user's starred gists....

Options:

    --q-since    Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.    
                 Only gists updated at or after this time are returned.


=head3 GET /gitignore/templates

    githubcl GET /gitignore/templates

Listing available templates.


=head3 GET /gitignore/templates/:language

    githubcl GET /gitignore/templates/:language <language>

Get a single template.

Parameters:

    language  *  

=head3 GET /issues

    githubcl GET /issues [options]

List issues.

Options:

    --q-filter     *  Issues assigned to you / created by you / mentioning you / you're       
                      subscribed to updates for / All issues the authenticated user can see   
    --q-state      *                                                                          
    --q-labels     *  String list of comma separated Label names. Example - bug,ui,@high.     
    --q-sort       *                                                                          
    --q-direction  *                                                                          
    --q-since         Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                      Only issues updated at or after this time are returned.                 


=head3 GET /legacy/issues/search/:owner/:repository/:state/:keyword

    githubcl GET /legacy/issues/search/:owner/:repository/:state/:keyword <keyword> <state> <owner> <repository>

Find issues by state and keyword....

Parameters:

    keyword     *  The search term.                                                          
    state       *  Indicates the state of the issues to return. Can be either open or closed.
    owner       *                                                                            
    repository  *                                                                            

=head3 GET /legacy/repos/search/:keyword

    githubcl GET /legacy/repos/search/:keyword [options] <keyword>

Find repositories by keyword. Note, this legacy me...

Options:

    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-language      Filter results by language                                                                 
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.

Parameters:

    keyword  *  The search term

=head3 GET /legacy/user/email/:email

    githubcl GET /legacy/user/email/:email <email>

This API call is added for compatibility reasons o...

Parameters:

    email  *  The email address

=head3 GET /legacy/user/search/:keyword

    githubcl GET /legacy/user/search/:keyword [options] <keyword>

Find users by keyword.

Options:

    --q-order         The sort field. if sort param is provided. Can be either asc or desc.                      
    --q-start_page    The page number to fetch                                                                   
    --q-sort          The sort field. One of stars, forks, or updated. Default: results are sorted by best match.

Parameters:

    keyword  *  The search term

=head3 GET /meta

    githubcl GET /meta

This gives some information about GitHub.com, the ...


=head3 GET /networks/:owner/:repo/events

    githubcl GET /networks/:owner/:repo/events <owner> <repo>

List public events for a network of repositories....

Parameters:

    owner  *  Name of the owner. 
    repo   *  Name of repository.

=head3 GET /notifications

    githubcl GET /notifications [options]

List your notifications.

Options:

    --q-all              True to show notifications marked as read.                                       
    --q-participating    True to show only notifications in which the user is directly participating      
                         or mentioned.                                                                    
    --q-since            The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                         Example: "2012-10-09T23:39:01Z".                                                 


=head3 GET /notifications/threads/:id

    githubcl GET /notifications/threads/:id <id>

View a single thread.

Parameters:

    id  *  Id of thread.

=head3 GET /notifications/threads/:id/subscription

    githubcl GET /notifications/threads/:id/subscription <id>

Get a Thread Subscription.

Parameters:

    id  *  Id of thread.

=head3 GET /orgs/:org

    githubcl GET /orgs/:org <org>

Get an Organization.

Parameters:

    org  *  Name of organisation.

=head3 GET /orgs/:org/events

    githubcl GET /orgs/:org/events <org>

List public events for an organization....

Parameters:

    org  *  Name of organisation.

=head3 GET /orgs/:org/issues

    githubcl GET /orgs/:org/issues [options] <org>

List issues.

Options:

    --q-filter     *  Issues assigned to you / created by you / mentioning you / you're       
                      subscribed to updates for / All issues the authenticated user can see   
    --q-state      *                                                                          
    --q-labels     *  String list of comma separated Label names. Example - bug,ui,@high.     
    --q-sort       *                                                                          
    --q-direction  *                                                                          
    --q-since         Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                      Only issues updated at or after this time are returned.                 

Parameters:

    org  *  Name of organisation.

=head3 GET /orgs/:org/members

    githubcl GET /orgs/:org/members <org>

Members list.

Parameters:

    org  *  Name of organisation.

=head3 GET /orgs/:org/members/:username

    githubcl GET /orgs/:org/members/:username <org> <username>

Check if a user is, publicly or privately, a membe...

Parameters:

    org       *  Name of organisation.
    username  *  Name of the user.    

=head3 GET /orgs/:org/public_members

    githubcl GET /orgs/:org/public_members <org>

Public members list.

Parameters:

    org  *  Name of organisation.

=head3 GET /orgs/:org/public_members/:username

    githubcl GET /orgs/:org/public_members/:username <org> <username>

Check public membership.

Parameters:

    org       *  Name of organisation.
    username  *  Name of the user.    

=head3 GET /orgs/:org/repos

    githubcl GET /orgs/:org/repos [options] <org>

List repositories for the specified org....

Options:

    --q-type    

Parameters:

    org  *  Name of organisation.

examples/pod/githubcl.pod  view on Meta::CPAN

Parameters:

    owner    *  Name of repository owner.
    repo     *  Name of repository.      
    shaCode  *                           

=head3 GET /repos/:owner/:repo/git/trees/:shaCode

    githubcl GET /repos/:owner/:repo/git/trees/:shaCode [options] <owner> <repo> <shaCode>

Get a Tree.

Options:

    --q-recursive    Get a Tree Recursively. (0 or 1)

Parameters:

    owner    *  Name of repository owner.
    repo     *  Name of repository.      
    shaCode  *  Tree SHA.                

=head3 GET /repos/:owner/:repo/hooks

    githubcl GET /repos/:owner/:repo/hooks <owner> <repo>

Get list of hooks.

Parameters:

    owner  *  Name of repository owner.
    repo   *  Name of repository.      

=head3 GET /repos/:owner/:repo/hooks/:hookId

    githubcl GET /repos/:owner/:repo/hooks/:hookId <owner> <repo> <hookId>

Get single hook.

Parameters:

    owner   *  Name of repository owner.
    repo    *  Name of repository.      
    hookId  *  Id of hook.              

=head3 GET /repos/:owner/:repo/issues

    githubcl GET /repos/:owner/:repo/issues [options] <owner> <repo>

List issues for a repository.

Options:

    --q-filter     *  Issues assigned to you / created by you / mentioning you / you're       
                      subscribed to updates for / All issues the authenticated user can see   
    --q-state      *                                                                          
    --q-labels     *  String list of comma separated Label names. Example - bug,ui,@high.     
    --q-sort       *                                                                          
    --q-direction  *                                                                          
    --q-since         Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                      Only issues updated at or after this time are returned.                 

Parameters:

    owner  *  Name of repository owner.
    repo   *  Name of repository.      

=head3 GET /repos/:owner/:repo/issues/:number

    githubcl GET /repos/:owner/:repo/issues/:number <owner> <repo> <number>

Get a single issue

Parameters:

    owner   *  Name of repository owner.
    repo    *  Name of repository.      
    number  *  Number of issue.         

=head3 GET /repos/:owner/:repo/issues/:number/comments

    githubcl GET /repos/:owner/:repo/issues/:number/comments <owner> <repo> <number>

List comments on an issue.

Parameters:

    owner   *  Name of repository owner.
    repo    *  Name of repository.      
    number  *  Number of issue.         

=head3 GET /repos/:owner/:repo/issues/:number/events

    githubcl GET /repos/:owner/:repo/issues/:number/events <owner> <repo> <number>

List events for an issue.

Parameters:

    owner   *  Name of repository owner.
    repo    *  Name of repository.      
    number  *  Number of issue.         

=head3 GET /repos/:owner/:repo/issues/:number/labels

    githubcl GET /repos/:owner/:repo/issues/:number/labels <owner> <repo> <number>

List labels on an issue.

Parameters:

    owner   *  Name of repository owner.
    repo    *  Name of repository.      
    number  *  Number of issue.         

=head3 GET /repos/:owner/:repo/issues/comments

    githubcl GET /repos/:owner/:repo/issues/comments [options] <owner> <repo>

List comments in a repository.

examples/pod/githubcl.pod  view on Meta::CPAN

=head3 GET /repos/:owner/:repo/watchers

    githubcl GET /repos/:owner/:repo/watchers <owner> <repo>

List Stargazers. New implementation....

Parameters:

    owner  *  Name of repository owner.
    repo   *  Name of repository.      

=head3 GET /repositories

    githubcl GET /repositories [options]

List all public repositories.

Options:

    --q-since    The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                 Example: "2012-10-09T23:39:01Z".                                                 


=head3 GET /search/code

    githubcl GET /search/code [options]

Search code.

Options:

    --q-order     The sort field. if sort param is provided. Can be either asc or desc.      
    --q-q      *  The search terms. This can be any combination of the supported code        
                  search parameters:                                                         
                  'Search In' Qualifies which fields are searched. With this qualifier       
                  you can restrict the search to just the file contents, the file path,      
                  or both.                                                                   
                  'Languages' Searches code based on the language it's written in.           
                  'Forks' Filters repositories based on the number of forks, and/or          
                  whether code from forked repositories should be included in the results    
                  at all.                                                                    
                  'Size' Finds files that match a certain size (in bytes).                   
                  'Path' Specifies the path that the resulting file must be at.              
                  'Extension' Matches files with a certain extension.                        
                  'Users' or 'Repositories' Limits searches to a specific user or repository.
    --q-sort      Can only be 'indexed', which indicates how recently a file has been indexed
                  by the GitHub search infrastructure. If not provided, results are sorted   
                  by best match.                                                             


=head3 GET /search/issues

    githubcl GET /search/issues [options]

Find issues by state and keyword. (This method ret...

Options:

    --q-order     The sort field. if sort param is provided. Can be either asc or desc.                           
    --q-q      *  The q search term can also contain any combination of the supported issue search qualifiers:    
    --q-sort      The sort field. Can be comments, created, or updated. Default: results are sorted by best match.


=head3 GET /search/repositories

    githubcl GET /search/repositories [options]

Search repositories.

Options:

    --q-order     The sort field. if sort param is provided. Can be either asc or desc.       
    --q-q      *  The search terms. This can be any combination of the supported repository   
                  search parameters:                                                          
                  'Search In' Qualifies which fields are searched. With this qualifier you    
                  can restrict the search to just the repository name, description, readme,   
                  or any combination of these.                                                
                  'Size' Finds repositories that match a certain size (in kilobytes).         
                  'Forks' Filters repositories based on the number of forks, and/or whether   
                  forked repositories should be included in the results at all.               
                  'Created' and 'Last Updated' Filters repositories based on times of         
                  creation, or when they were last updated.                                   
                  'Users or Repositories' Limits searches to a specific user or repository.   
                  'Languages' Searches repositories based on the language they are written in.
                  'Stars' Searches repositories based on the number of stars.                 
    --q-sort      If not provided, results are sorted by best match.                          


=head3 GET /search/users

    githubcl GET /search/users [options]

Search users.

Options:

    --q-order     The sort field. if sort param is provided. Can be either asc or desc.    
    --q-q      *  The search terms. This can be any combination of the supported user      
                  search parameters:                                                       
                  'Search In' Qualifies which fields are searched. With this qualifier you 
                  can restrict the search to just the username, public email, full name,   
                  location, or any combination of these.                                   
                  'Repository count' Filters users based on the number of repositories they
                  have.                                                                    
                  'Location' Filter users by the location indicated in their profile.      
                  'Language' Search for users that have repositories that match a certain  
                  language.                                                                
                  'Created' Filter users based on when they joined.                        
                  'Followers' Filter users based on the number of followers they have.     
    --q-sort      If not provided, results are sorted by best match.                       


=head3 GET /teams/:teamId

    githubcl GET /teams/:teamId <teamId>

Get team.

Parameters:

    teamId  *  Id of team.

=head3 GET /teams/:teamId/members

    githubcl GET /teams/:teamId/members <teamId>

List team members.

Parameters:

    teamId  *  Id of team.

=head3 GET /teams/:teamId/members/:username

    githubcl GET /teams/:teamId/members/:username <teamId> <username>

The "Get team member" API is deprecated and is sch...

Parameters:

    teamId    *  Id of team.      
    username  *  Name of a member.

examples/pod/githubcl.pod  view on Meta::CPAN


Parameters:

    teamId  *  Id of team.                
    owner   *  Name of a repository owner.
    repo    *  Name of a repository.      

=head3 GET /user

    githubcl GET /user

Get the authenticated user.


=head3 GET /user/emails

    githubcl GET /user/emails

List email addresses for a user....


=head3 GET /user/followers

    githubcl GET /user/followers

List the authenticated user's followers...


=head3 GET /user/following

    githubcl GET /user/following

List who the authenticated user is following....


=head3 GET /user/following/:username

    githubcl GET /user/following/:username <username>

Check if you are following a user....

Parameters:

    username  *  Name of user.

=head3 GET /user/issues

    githubcl GET /user/issues [options]

List issues.

Options:

    --q-filter     *  Issues assigned to you / created by you / mentioning you / you're       
                      subscribed to updates for / All issues the authenticated user can see   
    --q-state      *                                                                          
    --q-labels     *  String list of comma separated Label names. Example - bug,ui,@high.     
    --q-sort       *                                                                          
    --q-direction  *                                                                          
    --q-since         Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
                      Only issues updated at or after this time are returned.                 


=head3 GET /user/keys

    githubcl GET /user/keys

List your public keys.


=head3 GET /user/keys/:keyId

    githubcl GET /user/keys/:keyId <keyId>

Get a single public key.

Parameters:

    keyId  *  ID of key.

=head3 GET /user/orgs

    githubcl GET /user/orgs

List public and private organizations for the auth...


=head3 GET /user/repos

    githubcl GET /user/repos [options]

List repositories for the authenticated user. Note...

Options:

    --q-type    


=head3 GET /user/starred

    githubcl GET /user/starred [options]

List repositories being starred by the authenticat...

Options:

    --q-direction    Ignored without 'sort' parameter.
    --q-sort                                          


=head3 GET /user/starred/:owner/:repo

    githubcl GET /user/starred/:owner/:repo <owner> <repo>

Check if you are starring a repository....

Parameters:

    owner  *  Name of a repository owner.
    repo   *  Name of a repository.      



( run in 0.355 second using v1.01-cache-2.11-cpan-ed4147ee29a )