PyScoreSaber 1.0.10

Last updated:

0 purchases

PyScoreSaber 1.0.10 Image
PyScoreSaber 1.0.10 Images
Add to Cart

Description:

PyScoreSaber 1.0.10

PyScoreSaber
Score Saber API wrapper
Features

Rate Limit handling
Query Caching
Everything is async
Additional helper methods and async generators
Faker data provider

The faker data mode can be activated with the following scoresaber = ScoreSaber(test_mode=True).
This will return random data instead of making API requests to Score Saber.
Usage:
import asyncio
from pyscoresaber import ScoreSaberAPI


async def main():
async with ScoreSaberAPI() as scoresaber:
player = await scoresaber.player_full("76561198029447509")
print(player)

# Get fake data instead
async def main_fake():
async with ScoreSaberAPI(test_mode=True) as scoresaber:
player = await scoresaber.player_basic("76561198029447509")
print(player)

asyncio.run(main())
asyncio.run(main_fake())

Faker provider:
from faker import Faker
from pyscoresaber import ScoreSaberProvider

faker = Faker()
faker.add_provider(ScoreSaberProvider)

player = faker.player_basic("76561198029447509")
print(player)

License:

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

Customer Reviews

There are no reviews.