r6api 1.0.0

Last updated:

0 purchases

r6api 1.0.0 Image
r6api 1.0.0 Images
Add to Cart

Description:

r6api 1.0.0

siegeapi














How to install
pip install siegeapi

Quick example
from siegeapi import Auth
import asyncio

async def sample():
auth = Auth("UBI_EMAIL", "UBI_PASSWORD")
player = await auth.get_player(uid="7e0f63df-a39b-44c5-8de0-d39a05926e77")

print(f"Name: {player.name}")
print(f"Profile pic URL: {player.profile_pic_url}")

await player.load_playtime()
print(f"Total Time Played: {player.total_time_played:,} seconds")
print(f"Level: {player.level}")

await player.load_ranked_v2()
print(f"Ranked Points: {player.ranked_profile.rank_points}")
print(f"Rank: {player.ranked_profile.rank}")
print(f"Max Rank Points: {player.ranked_profile.max_rank_points}")
print(f"Max Rank: {player.ranked_profile.max_rank}")

await player.load_progress()
print(f"XP: {player.xp:,}")
print(f"Total XP: {player.total_xp:,}")
print(f"XP to level up: {player.xp_to_level_up:,}")

await auth.close()

asyncio.get_event_loop().run_until_complete(sample())
# Or `asyncio.run(sample())`

Output
Name: CNDRD
Profile pic URL: https://ubisoft-avatars.akamaized.net/7e0f63df-a39b-44c5-8de0-d39a05926e77/default_256_256.png
Total Time Played: 9,037,159 seconds
Level: 305
Ranked Points: 4188
Rank: Diamond 4
Max Rank Points: 4289
Max Rank: Diamond 3
XP: 11,858
Total XP: 20,694,358
XP to level up: 131,642


Siege Inventory
If you want to see every skin, headgear, uniform and more, head over to skins.cndrd.xyz
Docs
For docs go to cndrd.github.io/siegeapi
Credits
Operator Icons from r6operators by marcopixel & sourced by me straight from the game files
Built (and re-built) on top of what billy-yoyo started
Problems
If you experience any problems, reach out to me, or submit a PR
You can reach out here on GitHub or on Discord (cndrd)

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.