Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

A PHP library to interact with ScoreSaber old and new API

License

Notifications You must be signed in to change notification settings

KriKrixs/PHP-ScoreSaber-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP ScoreSaber API

Latest Version on Packagist Software License Quality Score Total Downloads

A Simple PHP library to interact with ScoreSaber's API

Install

Via Composer

$ composer require krikrixs/php-scoresaber-api

Usage

// Create the object
$ScoreSaberAPI = new ScoreSaberAPI("ApplicationName");

// Functions
// $sortBy values: 0 = Trending (Doesn't seems to work) | 1 = Ranked date | 2 = Numbers of scores set | 3 = Star rating | 4 = Author
$ScoreSaberAPI->getMaps((bool)$rankedOnly, (int)$sortBy, (int)$limit, not required (string)$mapName);   // Get Map
$ScoreSaberAPI->getGlobalLeaderboards((int)$page);                                                      // Get Global Leaderboards
$ScoreSaberAPI->getPlayerInfos((string)$playerId, (bool)$wantFullInfo);                                 // Get basic or full player's infos
$ScoreSaberAPI->getPlayerScores((string)$playerId, (bool)$wantTopScores, (int)$page);                   // Get recent or top player's scores

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please contact me on discord OMDN | Krixs#1106 or by email [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

A PHP library to interact with ScoreSaber old and new API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages