Skip to content

codabl/brainrex-go

Repository files navigation

Go API client for brainrex

The Brainrex API is a collection of analytics tools and data integrations made for blockchain developers. In particular we offer Natural Language Processing and Anomaly detection algorithms that have been fine tune to understand text data and time series in the domain speficic setting of cryptocurrency and blockchain technology. This technology is intended to be use as building blocks to bigger applications, we offer examples on how to use them for Trading Backtesting and Smart Contract anomaly monitoring.

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: 1.0.2
  • Package version: 1.0.2
  • Build package: io.swagger.codegen.languages.GoClientCodegen

Installation

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

import "./brainrex"

Documentation for API Endpoints

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

Class Method HTTP request Description
AnomalyApi AnomalyBatch Post /anomaly/json/detect Detects anomalies in historical data in batches. This endpoint uses your entire dataset as input
IntegrationsApi CryptoGetCandleData Post /crypto/get_candles Downloads candle format market data
IntegrationsApi CryptoGetExchangeAssets Post /crypto/get_exchange_assets Gets all coin pairs traded in specified exchange
IntegrationsApi CryptoGetOrderbooks Post /crypto/get_orderbooks Returns the current state of the orderbook.
IntegrationsApi CryptoGetSupportedExchanges Get /crypto/get_supported_exchanges Gets all cryptocurrency exchanges supported by the Brainrex API
IntegrationsApi CryptoGetTicker Post /crypto/get_ticker Downloads candle format market data
LanguageApi LanguageGetCryptoEntities Post /entity/get_crypto_entities Extracts known crypto entities like coin names, exchanges, media from text.
LanguageApi LanguageGetGeneralSentiment Post /sentiment/get_general_sentiment Returns a -1 to 1 score, depending on positive/negative sentiment
LanguageApi LanguageGetPriceSentiment Post /language/get_price_sentiment Sentiment analysis score using a model trained for buy signals.

Documentation For Models

Documentation For Authorization

APIKeyHeader

  • Type: API key

Example

auth := context.WithValue(context.Background(), sw.ContextAPIKey, sw.APIKey{
	Key: "APIKEY",
	Prefix: "Bearer", // Omit if not necessary.
})
r, err := client.Service.Operation(auth, args)

Author

About

Golang client for the Brainrex API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published