github.com/questrail/gotick

Go-based client for Tick's API


License
MIT
Install
go get github.com/questrail/gotick

Documentation

tick

Go-based client for Tick's API.

GoDoc Go Report Card License Badge

Overview

tick provides a Go interface to the Tick API v2. To access the Tick API a subscription ID and API Token are required.

Installation

$ go get github.com/apidepot/tick

Contributing

Contributions are welcome! To contribute please:

  1. Fork the repository
  2. Create a feature branch
  3. Code
  4. Submit a pull request

Testing

Prior to submitting a pull request, please run:

$ make check    # formats, vets, and unit tests the code
$ make lint     # lints code using staticcheck

To update and view the test coverage report:

$ make cover

Integration Testing

To perform the integration tests run:

$ make int

Prior to doing so, you'll need to create a config_test.toml file with your Tick Subscription ID and API Token.

Example config_test.toml file:

SubscriptionID = "xxxxx"
Token = "big-hex-string"

License

tick is released under the MIT license. Please see the LICENSE.txt file for more information.