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

Fetch Retro Funding project information via API #102

Open
divine-comedian opened this issue Aug 14, 2024 · 4 comments
Open

Fetch Retro Funding project information via API #102

divine-comedian opened this issue Aug 14, 2024 · 4 comments

Comments

@divine-comedian
Copy link
Contributor

divine-comedian commented Aug 14, 2024

Currently we use a JSON list published by retrolist to get the list of projects and their related information for retrofunding rounds.

We should instead use an API provided by Agora to programatically fetch the latest list of included projects (exluding rejected applications) and the latest information.

API endpoint is here https://vote.optimism.io/api_v1 however it requires an API key. I have it and will share privately.

I checked the Agora API response and it uses the same projectId as retrolist does, so we should have no problem in replacing this method and testing it out on Retro Funding 4 projects.

@divine-comedian divine-comedian moved this to In progress in DeVouch Aug 14, 2024
@divine-comedian divine-comedian moved this from In progress to Todo in DeVouch Aug 14, 2024
@divine-comedian
Copy link
Contributor Author

divine-comedian commented Aug 20, 2024

Can update and test it with round 4, when we get projects from round 5 we can test it as well.

if a project is remove from the round we don't show it anymore on DeVouch.

create a new source for Retro Funding 5

rf5-{projectId}

we can also hide them as applications are removed or disqualified instead of deleting them

@divine-comedian
Copy link
Contributor Author

@MohammadPCh worked on this so we can now fetch projects from round 4 & 5 using Agora API - this is now on staging.

@divine-comedian divine-comedian moved this from In progress to QA in DeVouch Aug 27, 2024
@divine-comedian
Copy link
Contributor Author

The API for getting round 5 projects is returning empty data, will need to check with Agora team what is up

@divine-comedian divine-comedian moved this from QA to BLOCKED in DeVouch Aug 27, 2024
@divine-comedian
Copy link
Contributor Author

We fetched the info from retrolist and Cherik found a way to refetch from their JSON list every hour

Retrolist app is also refreshing their JSON periodically so this should be able to let us update applications in near real time

Agora API for RF5 won't be delivered until Sept 20 so this needed to be our alternative approach.

Deprioritising this until Agora improves the delivery and timeliness of their round specific API

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

No branches or pull requests

2 participants