Coder Social home page Coder Social logo

qakapil / cryptoapi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from minaandrawos/cryptoapi

0.0 0.0 0.0 23 KB

An HTTP service (written in Scala and Finatra) that exposes cryptocoin trading information from different exchanges

License: MIT License

Scala 100.00%

cryptoapi's Introduction

CryptoApi

An HTTP server that provides cryptocoin trading information from several exchanges. The service is written in Scala and Finatra. The service makes use of the powerful XChange (https://github.com/knowm/XChange) java library.

API:

/<exchange name>/<ticker>/<operation: open,low,high,ticker,ask,volume>

Currently supported exchanges:

  • Binance
  • Kraken
  • Coinbase
  • Bitstamp
  • Bitfinex
  • Bittrex
  • Poloniex

Default server address:

http://<host>:8888

Default Admin address:

http://<host>:9990

Examples:

Example1

Request:

/kraken/eth-btc/low

Response:

{"ticker":"ETH/BTC","exchange":"kraken","value":"0.018080"}

Example2

Request:

/binance/xrp-btc/ticker

Response:

{"currency_pair":"XRP/BTC","open":0.00002630,"last":0.00002639,"bid":0.00002639,"ask":0.00002641,"high":0.00002653,"low":0.00002513,"vwap":0.00002605,"volume":52012380.00000000,"quote_volume":1354.93283077,"bid_size":3062.00000000,"ask_size":2238.00000000}

cryptoapi's People

Contributors

minaandrawos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.