stringtheory pfp
stringtheory
@stringtheory69
Explain to me a way to develop a script that will keyword search over all farcaster casts. Output would be matching casts with full cast object - i.e. replies etc. Ideally uses some tier of Neynar and Python. 100 USDC Deadline 04/24/2024 @bountybot
9 replies
1 recast
3 reactions

Tyga pfp
Tyga
@tyga
1. use Neynar's SQL playground to develop your query https://docs.neynar.com/docs/how-to-query-neynar-sql-playground-for-farcaster-data 2. Use the SQL API (syntax below) to get your data: https://redash.io/help/user-guide/integrations-and-api/api Copy/paste the schema to ChatGPT Co-Pilot to have it write a conversion
2 replies
0 recast
0 reaction

Tyga pfp
Tyga
@tyga
#2 is a link from #1 page. I believe it would be https://hub-api.neynar.com/api/queries/... You can utilize ChatGPT/Co-Pilot to build the scaffolding in Python and then if you give it an example response and desired output to convert it to, it will give you a script in your desired language.
0 reply
0 recast
0 reaction

Tyga pfp
Tyga
@tyga
You can also use ChatGPT to assist you in writing your query. I would give it an example Neynar's SQL playground may have that built-in though, so check there first. Also here is Redash's docs for using API to download: https://redash.io/help/user-guide/querying/download-query-results
0 reply
0 recast
0 reaction