Skip to content

brainrex-intel/brainrex-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IO.Swagger - the C# library for the Brainrex API Explorer

Welcome to the Brainrex API explorer, we make analytics tools for crypto and blockchain. Our currently propiertary models offer sentiment analysis, market making, blockchain monitoring and face-id verification. This AI models can be consumed from this API. We also offer integrations to open data and propietary data providers, as well as free test data we collect. There is a collection of data transformation tools. Join our Telegram group to get the latest news and ask questions https://t.me/brainrex, #brainrex. More about Brainrex at https://brainrex.com. Full Documentation can be found at https://brainrexapi.github.io/docs

This C# SDK is automatically generated by the Swagger Codegen project:

  • API version: 0.1.1
  • SDK version: 1.0.0
  • Build package: io.swagger.codegen.languages.CSharpClientCodegen

Frameworks supported

  • .NET 4.0 or later
  • Windows Phone 7.1 (Mango)

Dependencies

The DLLs included in the package may not be the latest version. We recommend using NuGet to obtain the latest version of the packages:

Install-Package RestSharp Install-Package Newtonsoft.Json Install-Package JsonSubTypes 

NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742

Installation

Run the following command to generate the DLL

  • [Mac/Linux] /bin/sh build.sh
  • [Windows] build.bat

Then include the DLL (under the bin folder) in the C# project, and use the namespaces:

using IO.Swagger.Api; using IO.Swagger.Client; using IO.Swagger.Model;

Packaging

A .nuspec is included with the project. You can follow the Nuget quickstart to create and publish packages.

This .nuspec uses placeholders from the .csproj, so build the .csproj directly:

nuget pack -Build -OutputDirectory out IO.Swagger.csproj 

Then, publish to a local feed or other host and consume the new package via Nuget as usual.

Getting Started

using System; using System.Diagnostics; using IO.Swagger.Api; using IO.Swagger.Client; using IO.Swagger.Model; namespace Example { public class Example { public void main() { var apiInstance = new BlockchainApi(); var request = new Request(); // Request | Name of the blockchain and date range. try { // Calculate average transccion fee of a given blockchain InlineResponse201 result = apiInstance.BlockchainAverageTx(request); Debug.WriteLine(result); } catch (Exception e) { Debug.Print("Exception when calling BlockchainApi.BlockchainAverageTx: " + e.Message ); } } } }

Documentation for API Endpoints

All URIs are relative to https://brainrexapi.appspot.com:5000/api

Class Method HTTP request Description
BlockchainApi BlockchainAverageTx POST /average_tx_fee Calculate average transccion fee of a given blockchain
BlockchainApi BlockchainList GET /list_blockchain The blockchains data structure supported by the Brainrex API
CryptoApi ExchangesDownloadCandles POST /download_candles Downloads candle format market data
CryptoApi ExchangesList GET /markets The markets data structure supported by the Brainrex Market API
CryptoApi ExchangesMarketmaker POST /market_making Market Making as a Service API.
CryptoApi ExchangesRead GET /exchanges The exchanges data structure supported by the Brainrex API
CryptoApi ExchangesTickerDataDownload POST /download_ticker Download raw ticker data from major crypto markets
SentimentAnalysisApi SentimentGetPriceSentiment POST /get_buy_sentiment Sentiment analysis score using a model trained for buy signals.
SentimentAnalysisApi SentimentGetSentiment POST /get_sentiment Sentiment analysis for any given blob of text

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.

About

Client Library for c# for the Brainrex API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published