Client¶
-
class
tokki.travis.TravisClient(token, *args, **kwargs)¶ Represents a client for accessing the Travis CI API.
- Parameters
-
async
get_repo(slug)¶ Gets a project from Travis CI.
- Parameters
slug (
str) – The owner/repo to get the information from.- Returns
The project of the user if is present on the account.
- Return type
TravisRepo- Raises
aiohttp.ClientResponseError – If the API response returned something other than a 1XX-2XX-3XX code.