Share your repls and programming experiences

← Back to all posts
REPLAPI Module! 0.0.6v - ultimate poggers
JBloves27

REPLAPI Module

(Version 0.0.6)

Made by @JBYT27 and @darkdarcool


About the module:

As you may have seen on our previous module, this is the next version (or next-next. or the next-next-next. lol). We have added some new commands to the module. We have also made the speed faster for a lot of them.(Check out the installation header below for how to get started with the module.)


Installation:

ManageCommand
pip$ pip install REPLAPI
poetry$ python -m poetry add REPLAPI
Repl.itSearch REPLAPI in the package tab and add it

What's new!

Well, for a lot of things in the module, including faster speeds for Avatars, Languages, Cycles, Full Names, and Bios!! We have also stopped using non-replit(external) json files for things that require it. Now we use replit json files. And we have made it so the module does not import a ton of modules whenever you run it!(by improving the modules directions!). If we are dumb and it doesen't work, please wait to use the module, or use version 0.0.3.

How to use the module

We have improved a bunch of the modules! Here is a small example using ALL of them!

  • replit_langs("username")
  • replit_cycles("username")
  • replit_avatar("username")
  • replit_bio("username")
  • replit_name("username")
  • replit_comment("username)

If you do replit_comments("myusername") you will get a long list of your comments on your replit profile until the load more button.

  • replit_post("username")

The same thing goes for posts, if you do replit_posts("username"), it will return all of the posts on your replit profile until the load more button!

✨ Special(experimental) Function! ✨

The special function is replit_langs("username"). It returns the user's most recently used coding languages in a list! It works like this:

This function is experimental, we are just playing around with it and need YOUR feedback and issues!


Credits:

  • @RayhanADev ( for giving use the idea and helping us along the way! )
  • @IcynHackz ( for giving us a faster way of accesing data! )
  • @MarcusWeinberger ( for helping us for the overall quality of the module! )
  • Everyone that has left a pull request and issue on our git repo ( thanks you guy's so much! )

Contributing

If you wanna contribute, we will not invite you to the repl of this moudle(it's private), a we will not invite you to the github repo. If you wish to contribute, please leave and issure or a pull request on the github repo here. We will always(jk) try our best to read them! If you wish to complain(lol), leave it in the disscusion on the repo. Our discord server will also be linked at the end! ;)

Closing

So yea, that's the module! We worked hard on it, and we love your guy's contributions! Feel free to use the package whenever, and for anything.

KTHXBAI!!! (lolcode reference)

Discord

Voters
Gh0stHack3r
svensk007
SudhanshuMishra
LeoXu2
mkhoi
MarcusWeinberger
Nanowrimoijk
Dunce
SelenaYang1
darkdarcool
Comments
hotnewtop
IOP3

haha! Thanks for crediting me. This is so much faster. POggerss

darkdarcool

@IcynHackz
yes it is!

IOP3
JBloves27
svensk007

This is sick bro nice job

JBloves27

Thanks! @svensk007

Whippingdot

Hey can I join this project? I am both of ur friends...!

P.S. Again, too lazy to try it out, but seems POG

JBloves27

Hmmm, ill ask dark and we’ll discuss it. Thanks! @Whippingdot

Whippingdot

dark already added me to the docs lul @JBloves27

darkdarcool

@Whippingdot
yea just the docs! (but i'm conflicted on the actual repo, we have a very specific vision that's hard to understand)

JBloves27

Lol ok @darkdarcool

Whippingdot

PLEASE PLEASE PLEASE PLEASE I THOUGHT U WERE MY FRIEND PLEASE @darkdarcool

darkdarcool

@Whippingdot
i am, but that doesn't give you any advantage over anyone else(and I haven't decided yet)

Whippingdot

lul i know @darkdarcool

IOP3
Whippingdot

descuson... @JBloves27

RayhanADev

LOL! You used wrapped mat1's API which then wraps the actual GraphQL,

Way to Go on Progress 🎉

I can't wait to see what ya'll do next with this :D

JBloves27

Lol, thanks! XD @RayhanADev

darkdarcool

@JBloves27 @RayhanADev
thanks! (that's an awaited function for mat's, so we made it so you DON'T have to await it :) )

darkdarcool

@RayhanADev
maybe consider joining the discord..........

RayhanADev

@darkdarcool nice, no more painful asyncs xD
and I actually don't get on Discord anymore, so sorry :(

darkdarcool

@RayhanADev
i hate asyncio, but we handle that for you :) (also the discord thing's fine)

[deleted]

@JBloves27 Great module, but how does it work? Do you use selenium to make it work or do you simply wrap it around the main API?

JBloves27

Thanks! Well, we wrap it around the main API (im pretty sure) @novaflippers

svensk007

@JBloves27 I'm trying to use this for a terminal type thing but it keeps saying "you didn't fill out the name parameter" when I have it set to an input [variable?]

JBloves27

Have you filled out the parameter? Like an example would be this:

There has to be a username inside the parentheses and there has to be quotations for the username. Did you do that? @svensk007

svensk007

@JBloves27 i created a variable for the username that takes user input called "user" and then I would do module.function(user)
print(user)

JBloves27

You need to name the functions, like this: idk = module.function(user) and user needs to be defined. THEN you would print this: print(idk) @svensk007

JBloves27

If that doesn't work, let me know! ;) @svensk007

svensk007

@JBloves27 user is defined by the users input though

JBloves27

It is, but then it would just return the input, not the function value. You want to return the function value, not the input value. You return the value into the function, but then you need to name the function to return the function value @svensk007

svensk007

@JBloves27 I shared it to you so you can look at it

Bunnytoes

does this do my languages of my last 3 codes?

JBloves27

This does ur most common langs (im pretty sure) @Bunnytoes

Bunnytoes
darkdarcool

@Bunnytoes
it does the last languages you used, 2 is latest, and 0 is the third latest

Bunnytoes

@darkdarcool this is so cool! how does it know this?

darkdarcool

@Bunnytoes
it looks at replit's json files. We find where the last languages are(there are 3 or less) in the json. We then take that data and take out some chars that we don't want. Then we put it in a list, separating them by their ','. Then we return that list you you!

JBloves27

Noice explaining. Also, im not avail rn ;) @darkdarcool

darkdarcool
IOP3

Oh yeah and also @JBloves27 and @darkdarcool, in the how to use the module header in the replit avatar section it should be:

instead of

Just a small mistake. ;)

darkdarcool

@IcynHackz
oh no, jb has to change ill ping him

IOP3
darkdarcool

@IcynHackz
also join the discord :) https://discord.gg/sFWYvsBj

IOP3
IOP3

@darkdarcool wait but not right now I have school :P

JBloves27

awesome poggers

Whippingdot

gud jub commenting on your own post @JBloves27

JBloves27

Yep. Lmao xd @Whippingdot