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

feat: implement coinmarketcap plugin with @Tool decorator #175

Merged
merged 20 commits into from
Jan 4, 2025

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Coinmarketcap Plugin Implementation

This PR implements a GOAT plugin for the Coinmarketcap API with the following features:

  • Implements cryptocurrency endpoints (listings and quotes)
  • Implements exchange endpoints (listings and quotes)
  • Implements content endpoints
  • Uses @tool decorator pattern
  • Includes comprehensive integration tests
  • Uses sandbox API for testing

All endpoints are implemented using the @tool decorator pattern, following the same structure as the ERC20 plugin. Integration tests verify the functionality of each endpoint using the sandbox API.

Link to Devin run: https://app.devin.ai/sessions/70d454949a8c4bc8b0483e9dc26d925c

devin-ai-integration bot and others added 3 commits January 3, 2025 20:11
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Co-Authored-By: Alfonso Gomez Jordana Manas <[email protected]>
Copy link

changeset-bot bot commented Jan 3, 2025

⚠️ No Changeset found

Latest commit: 828c4c8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor Author

Devin is currently unreachable - the session may have died.

devin-ai-integration bot and others added 4 commits January 4, 2025 08:34
Co-Authored-By: Alfonso Gomez Jordana Manas <[email protected]>
Co-Authored-By: Alfonso Gomez Jordana Manas <[email protected]>
Copy link
Contributor

@0xaguspunk 0xaguspunk left a comment

Choose a reason for hiding this comment

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

Also add the following endpoints:

  1. /v1/cryptocurrency/map - CoinMarketCap ID map
  2. /v2/cryptocurrency/ohlcv/latest - Latest OHLCV
  3. /v1/cryptocurrency/trending/latest - Trending Latest
  4. /v1/cryptocurrency/trending/most-visited - Trending Most Visited
  5. /v1/cryptocurrency/trending/gainers-losers - Trending Gainers & Losers

typescript/packages/plugins/coinmarketcap/src/index.ts Outdated Show resolved Hide resolved
typescript/packages/plugins/coinmarketcap/src/api.ts Outdated Show resolved Hide resolved
@0xaguspunk 0xaguspunk merged commit b31d3ce into main Jan 4, 2025
2 checks passed
@0xaguspunk 0xaguspunk deleted the devin/1735933402-coinmarketcap-plugin branch January 4, 2025 14:38
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.

1 participant