Examples
Some useful examples using rolib
A list of some examples using rolib
rolibUsing class UserName(robloxName)
import rolib
#using the UserName class to get other user related stuff
def main():
user=rolib.UserName('ItsArtemiz')
data = user.get_user_by_name()
print(data) #prints basic user info
print() #just to seperate the two outputs
userId = data['userId'] #getting the user's Id
newUser=rolib.User(userId)
print(newUser.get_user_gamepasses()) #getting the user's gamepasses
main()Using class Groups(groupId)
import rolib
def main():
group=rolib.Groups(5375449)
print(group.get_group_info())
main()Using class Place(placeId)
Using class User(robloxId)
Using class User(robloxId)
Last updated
Was this helpful?