get_accounts: Get Travis Accounts

Description Usage Arguments Details Value See Also Examples

Description

Retrieve GitHub accounts linked to the authenticated Travis user.

Usage

1

Arguments

...

Additional arguments passed to travisHTTP.

Details

This is probably the closest thing to a “Hello World!” on the API. It provides information about what accounts have been linked between GitHub and Travis, such as organization accounts that the user is a member of.

Value

A list.

See Also

get_users, get_permissions

Examples

1
2
3
4
5
6
7
8
## Not run: 
# authenticate based on Sys.setenv("GITHUB_TOKEN" = "sometoken")
auth_travis()

# get travis accounts
get_accounts()

## End(Not run)

cloudyr/travisci documentation built on May 13, 2019, 8:22 p.m.