Get Travis CI remaining OSS credits on an account and the account usage.
$ gem install credits
TRAVIS_TOKEN: Visit https://app.travis-ci.com/account/preferences and click on COPY TOKEN under API authentication.
USERNAME: GitHub End User / Organization username
FROM: In format 2022-01-01
TO: In format 2022-01-30
$ credits remaining TRAVIS_TOKEN USERNAME
$ credits usage FROM TO TRAVIS_TOKEN USERNAME
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Credits project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.