Code Monkey home page Code Monkey logo

cannacoin-api's Introduction

Cannacoin-API

Need a quick arbitrage calculator? Want to build a ticker? Need to create a cannastats or bot of your own? Now you can! Below is a list of available data points you can use in your own applications and tools! In the future we are looking to incorperate a full authentication system with API keys and more scope definitions. Over time you will see minor changes to the API but we plan to have everything documented and hosted on the official site soon.


Network/Coin data

  • ccn_usd: CCN to USD Rate (uses average last exchange rates for both CCN/USD)
  • ccn_btc: CCN to BTC Rate (uses average last exchange rates for both CCN/USD)
  • marketcap: Cannacoin market cap represented in number format (Average Last CCN * Total Number of coins)
  • marketcap_formatted: Cannacoin market cap represented in us_EN local currency format (USD, $) (Average Last CCN price * Total Number of coins)
  • total_coins: Current supply of Cannacoins
  • total_coins_formated: Current supply of Cannacoins with thousands separator
  • btc_last: BTC Last price represented in us_EN local currency format (USD, $)

Swisscex

  • ask: Current ask price
  • bid: Current bid price
  • last: Current last price
  • last_volume: Last volume of traded coins
  • buy_volume: Current buy volume
  • sell_volume: Current sell volume
  • volume24: 24 Hour volume
  • high24: 24 hour high price
  • low24: 24 hour low price
  • change: 24 hour change

Bittrex

  • ask: Current ask price
  • bid: Current bid price
  • last: Current last price
  • high24: 24 hour high price
  • low24: 24 hour low price
  • volume: 24 hour volume
  • volume_btc: 24 hour BTC volume
  • open_sell_orders: Number of open sell orders
  • open_buy_orders: Number of open buy orders
  • timestamp: timestamp of last update

For developers who want to get started right away, I've gone ahead and created a PHP example/bootstrap that will provide the code needed to parse all the data for use in your own PHP code!


View the API here:

http://cannacoin.cc/api/v1

cannacoin-api's People

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.