Skip to content
← Back to Community
Simple Flask Test
Profile icon
h
has Hacker Plan
JWZ6

Flask!

It shows your username and replit logo.

CREDITS to @JBloves27 and @darkdarcool for REPLAPI package (taken off though lol)

Enjoy

Voters
Profile icon
maxina
Profile icon
VulcanWM
Profile icon
ruiwenge2
Profile icon
Coder100
Profile icon
JBloves27
Profile icon
JWZ6
Comments
hotnewtop
Profile icon
EpicCodeWizard

@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.

Profile icon
JWZ6

@EpicCodeWizard im still learning but ok :)

Profile icon
ch1ck3n
Profile icon
EpicCodeWizard

@ch1ck3n Other than isTeam and repls, is there anything else?

Profile icon
JWZ6
Profile icon
darkdarcool

Nice job dude!

Profile icon
JWZ6
Profile icon
Coder100

Nice button!!

Profile icon
JWZ6

@Coder100 Thanks! told u, big brain :)

Profile icon
JWZ6

@ruiwenge2 The os.environ problem has been changed into a request! Fixed :)

@VulcanWM Added The Repl Auth

Profile icon
Coder100

just didn't feel like it XD

proceeds to implement @JWZ6

Profile icon
JWZ6
Profile icon
ruiwenge2

@JWZ6 nice!

Profile icon
ruiwenge2

@JWZ6 btw got ya to 700!

Profile icon
VulcanWM

ayyy nice! time to upvote @JWZ6

Profile icon
VulcanWM

the styling is amazing btw @JWZ6

Profile icon
JWZ6

@ruiwenge2 u got to 1000!

Profile icon
JWZ6
Profile icon
JWZ6

@ruiwenge2 thx :)

Profile icon
VulcanWM
Profile icon
ruiwenge2

@JWZ6 yeah :)

Profile icon
JWZ6
Profile icon
JWZ6
Profile icon
VulcanWM
Profile icon
JWZ6
Profile icon
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 :(

Profile icon
JWZ6

@ruiwenge2 oh rip

Profile icon
JWZ6

@ruiwenge2 btw great flask tutorial. im using it :)

Profile icon
ruiwenge2

@JWZ6 yay thanks

Profile icon
JBloves27

Nice!

Profile icon
JWZ6
Profile icon
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

Profile icon
JWZ6

@VulcanWM i decided not to do that lol

Profile icon
VulcanWM

why not lol @JWZ6

Profile icon
JWZ6

@VulcanWM just didn't feel like it XD

Profile icon
VulcanWM

lmfao okay @JWZ6

Profile icon
JWZ6