Content
@
0 reply
0 recast
2 reactions
Chris
@chrisdom
today i've shipped fc-data.xyz heavily inspired by @pugson's ens and abidata, i've always needed a quick api for username by fid, avatar by username etc it's also heavily cached so don't rely on it for fresh data! Usage - /fid-or-username - /fid-or-username/avatar
6 replies
20 recasts
115 reactions
Greg
@greg
nice but fyi a username can be a number! should probably be different endpoints
2 replies
4 recasts
42 reactions
Chris
@chrisdom
ty, appreciate the feedback! don't know if you've tried one of those cases but it works, if the username isn't found it checks by fid, so it's gonna find it ππ cors is also setup so you can access it from clients
1 reply
0 recast
1 reaction
pugson
@pugson
yeah, prefix it with /fid/
0 reply
0 recast
2 reactions