Content pfp
Content
@
https://warpcast.com/~/channel/frames-devs
0 reply
0 recast
0 reaction

Gambino pfp
Gambino
@greatgambino.eth
Does anybody know of a public repository that uses frames.js and has input text/buttons that pull data from an API? I am trying to learn and think it would be helpful to examine one already built. Thanks!
4 replies
1 recast
2 reactions

df pfp
df
@df
this might help: https://github.com/framesjs/frames.js/blob/4df7a3ab065c9ae67bb167b052bdc298af7e4eab/templates/next-starter-with-examples/app/examples/custom-hub/frames/route.tsx#L11 to use an API you could const data = await fetch('<APIroute>') on line 8 and use data in populating lines 11/12
2 replies
0 recast
0 reaction

Gambino pfp
Gambino
@greatgambino.eth
Thanks!
0 reply
0 recast
0 reaction