OpenBB icon indicating copy to clipboard operation
OpenBB copied to clipboard

[🕹️] Integrate DefiLlama's Public API with OpenBB Platform

Open piiq opened this issue 1 year ago • 34 comments

📄 Task: (XXL: 1.500-3000 Points)

Integrate DefiLlama’s public API into the OpenBB Platform. Your task is to create a provider extension for DeFiLlama and implement the relevant commands in the openbb-crypto extension.


💡 Tips:

  1. Implementation: Use the DeliLlama API documentation to implement API calls for relevant data, such as DeFi metrics, protocols, and other valuable crypto data. No API key is required.
  2. Commands: Integrate the new provider into the openbb-crypto extension by adding the necessary commands to fetch and display data from DeFiLlama.
  3. Testing: Ensure all commands and API calls work as expected and handle edge cases (e.g., rate limits, missing data).
  4. Examples: You can refer to existing implementations of extensions and providers that have already been implemented repository.
  • Refer to the OpenBB architecture overview for insight into the platform’s structure.
  • Refer to the OpenBB documentation to create a new provider extension for Defillama.
  • Follow the instructions in the mapping guide to map the provider to the appropriate route within openbb-crypto.
  • Check other examples of how provider extensions are implemented in the repo to guide your work.

📬 Submission:

  • Follow the submission instructions here.
  • Open a Pull Request (PR) to the develop branch.
  • Include a brief description of the integration and what commands were added in the PR body.
  • Provide a working example of how to use the new provider extension (e.g., screenshots or video).

Happy hacking!

piiq avatar Sep 30 '24 18:09 piiq

/assign

aidoskanapyanov avatar Oct 03 '24 06:10 aidoskanapyanov

Assigned to @aidoskanapyanov! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 03 '24 06:10 oss-gg[bot]

/assign

dot-agi avatar Oct 03 '24 07:10 dot-agi

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 03 '24 07:10 oss-gg[bot]

@piiq can I be assigned this since I already have a draft PR #6731 with a /crypto/tvl/chains command implemented and working? I haven't added any label or description since I am not assigned the bounty.

image

UPDATE: TVL data for DeFiLlama is fully-functional now.

dot-agi avatar Oct 03 '24 11:10 dot-agi

/assign

dot-agi avatar Oct 05 '24 04:10 dot-agi

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 05 '24 04:10 oss-gg[bot]

It should've unassigned me by now. Hi @the-praxs , you can have this issue since you already have a pr.

aidoskanapyanov avatar Oct 05 '24 10:10 aidoskanapyanov

It should've unassigned me by now. Hi @the-praxs , you can have this issue since you already have a pr.

Thanks! And good luck with the hacktoberfest 🚀

dot-agi avatar Oct 05 '24 10:10 dot-agi

/assign

dot-agi avatar Oct 05 '24 10:10 dot-agi

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 05 '24 10:10 oss-gg[bot]

/assign

dot-agi avatar Oct 05 '24 10:10 dot-agi

Assigned to @the-praxs! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 05 '24 10:10 oss-gg[bot]

Thanks, good luck for you too @the-praxs ! 👍🏻

aidoskanapyanov avatar Oct 05 '24 10:10 aidoskanapyanov

@aidoskanapyanov, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

oss-gg[bot] avatar Oct 06 '24 06:10 oss-gg[bot]

@aidoskanapyanov, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

oss-gg[bot] avatar Oct 08 '24 06:10 oss-gg[bot]

/assign

Fahad-Dezloper avatar Oct 10 '24 14:10 Fahad-Dezloper

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 10 '24 14:10 oss-gg[bot]

/assign

ManpreetKhinda avatar Oct 10 '24 18:10 ManpreetKhinda

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 10 '24 18:10 oss-gg[bot]

I am still working on it and will complete by weekend. My goal is to integrate all the defillama endpoints first then move to refactoring and tests.

dot-agi avatar Oct 10 '24 18:10 dot-agi

/assign

saiteja-in avatar Oct 10 '24 19:10 saiteja-in

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 10 '24 19:10 oss-gg[bot]

/assign

shounak03 avatar Oct 11 '24 10:10 shounak03

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 11 '24 10:10 oss-gg[bot]

/assign

no-naame avatar Oct 14 '24 05:10 no-naame

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 14 '24 05:10 oss-gg[bot]

/assign

vivekk-dev avatar Oct 17 '24 19:10 vivekk-dev

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 17 '24 19:10 oss-gg[bot]

/assign

Aashmit avatar Oct 20 '24 02:10 Aashmit