Client and backend. Every class listed here is shared: the same code is compiled into your app and into your server. The package's page in the client API lists all of it, including any classes that exist only in the app.
package com.codename1.crypto.market
Prices: the
PriceFeed interface and its
Quote, CoinGeckoFeed, the
template-driven JsonPriceFeed for any JSON price API, and
CachingPriceFeed. Feeds send through a
RpcTransport, so they run in applications and on the backend.Types
class CachingPriceFeed | A PriceFeed that remembers each pair’s answer for a while. |
class CoinGeckoFeed | Prices from CoinGecko’s simple/price API. |
class JsonPriceFeed | A feed over any HTTP API that answers one price in JSON. |
interface PriceFeed | A source of prices. |
class Quote | A price: one unit of base costs price units of quote, as a source reported it at a time. |