An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.6% on proxy.golang.org
Top 1.9% dependent packages on proxy.golang.org

proxy.golang.org : github.com/christophwitzko/go-travis

go-travis is a Go client library for accessing the Travis CI API. go-travis requires Go version 1.1 or greater. Interaction with the Travis CI API is done through a Client instance. Constructing it with the NewClient helper requires two arguments: First, the Travis CI API URL you wish to communicate with. Different Travis CI plans are accessed through different URLs. go-travis exposes constants for these URLs: Second, a Travis CI token with which to authenticate. If you wish to run requests unauthenticated, pass an empty string. It is possible at any time to authenticate the Client instance with a Travis token or a Github token. For more information see [Authentication](). The Client instance's Service attributes provide access to Travis CI API resources. Service methods will often take an Option (sub-)type instance as input. These types, like BuildListOptions allow narrowing and filtering your requests. The Client instance supports both authenticated and unauthenticated interactions with the Travis CI API. Note that both Pro and Enterprise will require almost all API calls to be authenticated. It is possible to use the client unauthenticated. However some resources won't be accesible. The Client instance supports authentication with both Travis token and Github token. However, authentication with a Github token will require and extra step (and request). The services support resource pagination through the ListOption type. Every services `Option` type implements the ListOption type.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/christophwitzko/go-travis
License: BSD-3-Clause
Latest release: over 7 years ago
First release: over 7 years ago
Namespace: github.com/christophwitzko
Dependent packages: 6
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...