A client for the Ripple Data API V2. The Ripple Data API v2 provides access to information about changes in the XRP Ledger, including transaction history and processed analytical data.
hc = &http.Client{
Timeout: time.Second * 10,
}
c := xrpldata.NewClient(hc)
rate, _, err := c.GetExchangeRates("XRP", "USD+rMwjYedjc7qqtKYVLiAccJSmCwih4LnE2q", nil)
opts := &xrpldata.GetAccountExchangesOptions{Descending: true, Limit: 10}
exchanges, _, err := c.GetAccountExchanges("rsyDrDi9Emy6vPU78qdxovmNpmj5Qh4NKw", opts)
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.
@gmosx on Twitter.
MIT, see LICENSE file for details.
Copyright © 2019 George Moschovitis.