codabl-python

Codabl Community API


Keywords
Swagger, Codabl, Community, API, anomaly-detection, blockchain, cryptocurrency, data-integration, nlp
Install
pip install codabl-python==0.1.2

Documentation

brainrex

Provides anomaly detection and natural language processing technlogies to blockchain developers.

This Python package is automatically generated by the Swagger Codegen project:

  • API version: 1.0.1
  • Package version: 0.9.4
  • Build package: io.swagger.codegen.languages.PythonClientCodegen

Requirements.

Python 2.7 and 3.4+

Installation & Usage

pip install

If the python package is hosted on Github, you can install directly from Github

pip install git+https://github.com//.git

(you may need to run pip with root permission: sudo pip install git+https://github.com//.git)

Then import the package:

import brainrex 

Setuptools

Install via Setuptools.

python setup.py install --user

(or sudo python setup.py install to install the package for all users)

Then import the package:

import brainrex

Getting Started

Please follow the installation procedure and then run the following:

from __future__ import print_function
import time
import brainrex
from brainrex.rest import ApiException
from pprint import pprint

# Configure API key authorization: APIKeyHeader
configuration = brainrex.Configuration()
configuration.api_key['x-api-key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# configuration.api_key_prefix['x-api-key'] = 'Bearer'

# create an instance of the API class
api_instance = brainrex.AnomalyApi(brainrex.ApiClient(configuration))
request = brainrex.TimeSeries() # TimeSeries | Time Series to be analyzed, with the following format. (optional)

try:
    # Detects anomalies in historical data in batches. This endpoint uses your entire dataset as input
    api_response = api_instance.anomaly_batch(request=request)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling AnomalyApi->anomaly_batch: %s\n" % e)

Documentation for API Endpoints

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

Class Method HTTP request Description
AnomalyApi anomaly_batch POST /anomaly/json/detect Detects anomalies in historical data in batches. This endpoint uses your entire dataset as input
IntegrationsApi crypto_get_candle_data POST /crypto/get_candles Downloads candle format market data
IntegrationsApi crypto_get_exchange_assets POST /crypto/get_exchange_assets Gets all currency pairs traded in selected exchange
IntegrationsApi crypto_get_orderbooks POST /crypto/get_orderbooks Downloads candle format market data
IntegrationsApi crypto_get_supported_exchanges GET /crypto/get_supported_exchanges Gets all cryptocurrency exchanges supported by the Brainrex API
IntegrationsApi crypto_get_ticker POST /crypto/get_ticker Downloads candle format market data
LanguageApi language_get_crypto_entities POST /entity/get_crypto_entities Named Entity Recognition software capable of understanding cryptocurrency and blockchain speficic language.
LanguageApi language_get_general_sentiment POST /sentiment/get_general_sentiment This endpoints returns a score from -1 to +1 where depending on negative or positive attitude in the text.
LanguageApi language_get_price_sentiment 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
  • API key parameter name: x-api-key
  • Location: HTTP header

Author