Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No API for rates history #297

Open
g4s8 opened this issue Aug 20, 2019 · 1 comment
Open

No API for rates history #297

g4s8 opened this issue Aug 20, 2019 · 1 comment

Comments

@g4s8
Copy link

g4s8 commented Aug 20, 2019

It's not possible to access ZLD:USD or ZLD:BTC rates history, but WTS keeps it internally. Please add new API to get it, would be great if API user will be able to specify start date.

It may look like:
GET /rates?since=2019-01-01:

[
  {
    "usd_rate": "1.1",
    "timestamp": "2019-01-01T00:00:00.000Z"
  },

  {
    "usd_rate": "1.2",
    "timestamp": "2019-01-02T00:00:00.000Z"
  },

  {
    "usd_rate": "1.3",
    "timestamp": "2019-01-03T00:00:00.000Z"
  }
]
@0crat
Copy link

0crat commented Aug 20, 2019

@yegor256/z please, pay attention to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants