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

Change /api/search logic to Neynar search #525

Open
hellno opened this issue Oct 9, 2024 · 1 comment
Open

Change /api/search logic to Neynar search #525

hellno opened this issue Oct 9, 2024 · 1 comment

Comments

@hellno
Copy link
Collaborator

hellno commented Oct 9, 2024

instead of querying our own DB, we can switch to Neynar's API endpoint: https://docs.neynar.com/reference/cast-search

this includes removing code related to DB scheme and SQL queries.
functionality should be kept as much as possible, but some filters are not available on Neynar search (yet), so we can remove them for now

@hellno
Copy link
Collaborator Author

hellno commented Oct 9, 2024

currently we only have 'Power Badge' filter, we can adjust this to say 'Priority Mode' and use the priority_mode filter on the Neynar endpoint

gabrieltemtsen added a commit to gabrieltemtsen/herocast that referenced this issue Nov 24, 2024
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

No branches or pull requests

1 participant