Sign inSign up

r0shii/branehub

By r0shii

•Updated about 7 years ago

Image
0

1.0K

r0shii/branehub repository overview

⁠[WIP] branehub

pipeline status

⁠About

RESTful API for Brane Project.

BraneHub actually retrieves information directly from cryptocurrency exchanges (i.e. Kraken, Bitstamp and BL3P) to compute data. This is however a proof of concept, in the future BraneHub will not compute any data but only forward data computed by Brane's tools (Bitcoin.jl⁠ to start with).

⁠Reference

⁠General Information
⁠Base URL

HTTP

https://api.brane.cc

⁠Variable Path
⁠Definition

/<version>/<callname>/<market>

⁠Description

Version of API (is currently: 0)

<version> = 0

Name of call (for example: "ticker")

<callname> = $callname

Market that the call will be applied to.

<market> = "btceur"

⁠Ticker

Passing any GET parameters, will result in your request being rejected.

⁠Request
TypeURIDefinition
GEThttps://api.brane.cc/0/ticker/{currency_pair}⁠Supported values for currency_pair: any six letter combination supported by one or several of connected exchanges.
⁠Response JSON
FieldDefinition
marketActual market
vwapVolume weighted average price of exchanges' last reported price
⁠Example

Input: URL: https://api.brane.cc/0/ticker/btcusd

Result: {"market":"BTCUSD","vwap":10120.259}

⁠Buy me a cup of coffee

Donate Bitcoin⁠

Tag summary

Content type

Image

Digest

Size

6.9 MB

Last updated

about 7 years ago

docker pull r0shii/branehub