replapi2 (replit.com api) by ch1ck3n
Project description
replapi v2
by ch1ck3n
Introduction
All replit users have trouble getting profile information for this web app, not anymore! ch1ck3n made a replit api that is super easy to use. Just read on!
using it
assuming you've installed this package, let's make a basic python file.
main.py
_______
import replapi2
you've imported replapi2. now let's get say... the amount of cycles the user has?
main.py
_______
import replapi2
ch1ck3n = replapi2.UserInfo("ch1ck3n") # you can change "ch1ck3n" to any username you want!
print(ch1ck3n.replit_cycles)
Congrats! you can now view the replit cycles for every user.
Here are all of the other methods:
user_pic()
Gets the url for the user's picture
full_name()
gets the user's full name.
repls()
returns the user's most recent repls.
email()
returns the has of the user's email.
bio()
returns the user's bio.
top_languages()
returns the user's top languages.
hacker()
return if the user is a hacker or not.
organization()
returns the name of the user's organization.
replit_cycles()
returns the user's replit cycles.
comments()
returns the user's replit comments.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file replapi2-1.0.0.tar.gz
.
File metadata
- Download URL: replapi2-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77562056c9c8057d4d3ea7d762e184e1cbf9a57c8bfe1f20f10480459e53932c |
|
MD5 | 2b76e3fdd596b42795c6d148b25ec9cf |
|
BLAKE2b-256 | 5d368a1f547bb0d17db935001227b4d1d4b51977fe363fb7e7150f35ef66a464 |