Migrate to API v2 and add OHLC endpoint#4
Merged
oligirling merged 5 commits intomasterfrom Feb 21, 2026
Merged
Conversation
- Update API version from v1 to v2 across all endpoints - Add new Ohlc class with currency(), date(), interval(), and base() methods - Add ohlc() factory method to CurrencyApi - Add ohlc.test.js with 100% coverage - Bump package version to 2.0.0 - Update README with OHLC usage and examples - Update CHANGELOG for v2.0.0 release Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pull Request Test Coverage Report for Build 22254535815Details
💛 - Coveralls |
- Add deprecation banner to README pointing users to v2.0.0 - Add `make deprecate` target to mark v1.x as deprecated on npm Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Each matrix job now uploads with parallel: true and a dedicated finish job signals Coveralls once all Node versions have reported. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
/api/v1/→/api/v2/)ohlc()endpoint with candlestick data support (intervals:5m,15m,30m,1h,4h,12h,1d)2.0.0Test plan
ohlc.test.jscovers constructor defaults, all setter methods, method chaining, JSON and XML fetch🤖 Generated with Claude Code