Giter Club home page Giter Club logo

conceal-services's Introduction

Conceal Services

Conceal services offered through a simple API.

Chart API-s

Currently there are 3 chart API calls supported that return PNG images as result. The calls have the following endpoints:

  • /charts/price.png -> Price history for the Conceal coin
  • /charts/volume.png -> Volume history for the Conceal coin
  • /charts/marketcap.png -> Marketcap history for the Conceal coin

The type chart you get back depends on the parameters you pass in the URL.

Supported Parameters

vsCurrency: The currency versus which the chart values are ploted. For instance USD. Example:

charts/price.png?vsCurrency=usd

days: Timespan for which the chart is ploted. Example:

charts/price.png?days=30

xPoints: The number of labels on the x-axis. Example:

charts/price.png?xPoints=7

priceDecimals: The number of decimal places for the price values. Example:

charts/price.png?priceDecimals=2

priceSymbol: The symbol appended to the price values. Example:

charts/price.png?priceSymbol=$

width: the width of the resulting image. Example:

charts/price.png?width=1200

height: the height of the resulting image. Example:

charts/price.png?height=800

dateFormat: The format of the date on charts. Example:

charts/price.png?dateFormat=YYYY-MM-DD

Pool API-s

These are APIs that will give you pools info

  • /pools/list -> This gives you a shuffled list of all CCX pools
  • /pools/data -> This gives you a shuffled list of all CCX pools data

Exchange API-s

These are APIs that will give you exchanges info

  • /exchanges/list -> This gives you a filtered list of exchanges data.

Supported Parameters

name: Filter by the exchange name. Partial searches supported (by default). Example:

exchanges/list?name=Hotbit

address: Filter by the exchange address if its a permanent one. Partial searches supported (by default). Example:

exchanges/list?address=ccx7dnmkqFgHHnuQsaWjg57Hk69jmk6k4XKdG34jmX39ho5Gz45SJJ9U96zYzAcqP421xp8qU3NVpMsFhCotmuGR75i9PAQXEj

Both parameters also support wildcard searches and partial searches. For example

exchanges/list?name=Hot

Will search for all exchanges with that substring in the name. While

exchanges/list?address=*

Will search for all exchanges that have an address field present.

partial: Explicitly define if partial search is on or off. Its on by default. If you want to disable it you can set it like this:

exchanges/list?partial=false

Node API-s

These are APIs that will give you nodes info

  • /nodes/geodata -> This gives you geodata for all known nodes.

Market API-s

These are APIs that will give you market info for CCX

  • /market/info -> This gives you general info for the market.

Supported Parameters

vsCurrencies: The currencies for which the info will be retreived.

market/info?vsCurrencies=usd,btc,eur
  • /market/history -> This gives you history info for the market for last N days.

Supported Parameters

vsCurrency: The currency for which the history will be shown

market/history?vsCurrency=usd

days: Timespan for which the history is retreived

market/history?days=30

conceal-services's People

Contributors

taeguscromis avatar dependabot[bot] avatar krypt0x 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.