Skip to content
Investabit Go SDK.
Go Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.swagger-codegen
api
docs
.gitignore
.swagger-codegen-ignore
.travis.yml
LICENSE
README.md
api_public.go
client.go
configuration.go
git_push.sh
model_current_route.go
model_default_response.go
model_price_change_route.go
model_price_history_route.go
model_public_current_response.go
model_public_current_response_data.go
model_public_current_response_data_current.go
model_public_price_change_response.go
model_public_price_change_response_data.go
model_public_price_change_response_data_price_change.go
model_public_price_history_response.go
model_public_price_history_response_data.go
model_public_price_history_response_data_history.go
model_public_price_history_response_data_price_history.go
model_public_symbols_response.go
model_public_symbols_response_data.go
model_public_symbols_response_data_symbols.go
model_public_trend_response.go
model_public_trend_response_data.go
model_public_trend_response_data_trend.go
model_symbols_route.go
model_trend_route.go
response.go

README.md

Go API client for swagger

The Investabit API allows for access to all of the public facing services provided, including market data and forecasts. ## General Overview 1. All API methods will be built to adhere to RESTful best practices as closely as possible. As such, all API calls will be made via the standard HTTP protocol using the GET/POST/PUT/DELETE request types. 2. Every request returns the status as a JSON response with the following - success, true if it was successful - code, the http status code (also in the response header) 200 if response is successful 400 if bad request 401 if authorization JWT is wrong or limit exceeded 404 wrong route 500 for any internal errors - status, the status of the request, default success - errors, an array of any relevant error details 3. For any requests that are not successful an error message is specified and returned as an array for the errors key in the JSON response. 4. All authentication uses JSON Web Tokens (JWT), which is set as the Authorization entry in the header, see the following for more details. * http://jwt.io * https://scotch.io/tutorials/the-anatomy-of-a-json-web-token

Overview

This API client was generated by the swagger-codegen project. By using the swagger-spec from a remote server, you can easily generate an API client.

  • API version:
  • Package version: 1.0.0
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

Put the package under your project folder and add the following in import:

import "./swagger"

Documentation for API Endpoints

All URIs are relative to https://api.investabit.com

Class Method HTTP request Description
PublicApi V1PublicCurrentSymbolGet Get /v1/public/current/{symbol} Current
PublicApi V1PublicPriceChangeSymbolGet Get /v1/public/price-change/{symbol} Price Change
PublicApi V1PublicPriceHistorySymbolPeriodIntervalGet Get /v1/public/price-history/{symbol}/{period}/{interval} Price History
PublicApi V1PublicSymbolsGet Get /v1/public/symbols Symbols
PublicApi V1PublicTrendSymbolGet Get /v1/public/trend/{symbol} Trend

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

Author

You can’t perform that action at this time.