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

Apply updated DEX API + DEX liquidity API (v0.22.0) #65

Merged
merged 3 commits into from
Oct 22, 2024

Conversation

martinkersner
Copy link
Member

Updates

  • Applied flattened DEX API endpoints
  • Support for DEX liquidity endpoint (/api/v1/dex/liquidity)

Usage

from datamaxi import Datamaxi
api_key = "YOUR_API_KEY"
maxi = Datamaxi(api_key=api_key)
# private endpoints
maxi.dex.trade(chain="...", exchange="...", pool="...")
maxi.dex.candle(chain="...", exchange="...", pool="...")
maxi.dex.liquidity(chain="...", exchange="...", pool="...")

# public endpoints
maxi.dex.chains()
maxi.dex.exchanges()
maxi.dex.pools()
maxi.dex.intervals()

@martinkersner martinkersner self-assigned this Oct 22, 2024
Copy link
Contributor

@nick-bisonai nick-bisonai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@martinkersner martinkersner merged commit 857826f into main Oct 22, 2024
7 checks passed
@martinkersner martinkersner deleted the feat/reorganize-dex-api branch October 22, 2024 04:39
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

Successfully merging this pull request may close these issues.

2 participants