Simple Flask Test
Flask!
It shows your username
and replit logo
.
CREDITS to @JBloves27 and @darkdarcool for REPLAPI
package (taken off though lol)
Enjoy
darkdarcool
Nice job dude!
JWZ6
@darkdarcool thx
JWZ6
@ruiwenge2 The os.environ
problem has been changed into a request
! Fixed :)
@VulcanWM Added The Repl Auth
ruiwenge2
it keeps on showing your pfp instead of mine
I think it’s because os.environ["REPL_OWNER"]
doesn’t work if you use flask :(
JWZ6
@ruiwenge2 oh rip
JWZ6
@ruiwenge2 btw great flask tutorial. im using it :)
JBloves27
Nice!
JWZ6
@JBloves27 thx
VulcanWM
Maybe you can add logging in with replit with repl auth and this tutorial: https://replit.com/talk/learn/Authenticating-users-with-Replit-Auth/23460
@JWZ6 If you are looking for a fast way to fetch user info, just make a GET request to https://replit-user-info-api.epiccodewizard.repl.co/@USERNAME. It will return a lotta info in a short time. Add ?count=true for the number of posts, comments, and repls.
@EpicCodeWizard im still learning but ok :)
@EpicCodeWizard https://replit.com/data/profiles/ch1ck3n this has more data than yours
@ch1ck3n Other than isTeam and repls, is there anything else?
Pog @ch1ck3n