Download the PHP package lifeformwp/php-pubg without Composer
On this page you can find all versions of the php package lifeformwp/php-pubg. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download lifeformwp/php-pubg
More information about lifeformwp/php-pubg
Files in lifeformwp/php-pubg
Download lifeformwp/php-pubg
More information about lifeformwp/php-pubg
Files in lifeformwp/php-pubg
Vendor lifeformwp
Package php-pubg
Short Description PUBG API wrapper written in PHP 7.1
License MIT
Package php-pubg
Short Description PUBG API wrapper written in PHP 7.1
License MIT
Please rate this library. Is it a good library?
Informations about the package php-pubg
PHPPUBG - wrapper for PUBG Developer API
Wrapper for PUBG API with DTO (Matches, Player/Players, Status, Telemetry, Samples), full test coverage, PHP 7.1, etc.
Requirements
- PHP >= 7.1
Installation
- run
composer require lifeformwp/php-pubg
Basic usage
Available methods
- getMatch([string, required]shard, [string, required]matchId) - returns array of data about match
- getPlayers([string, required]shard, [array, not required]playerNames, [array, not required]playerIds) - returns array of data about players
- getPlayer([string, required]shard, [string, required]playerId) - returns array of data about player
- getTelemetry([string, required]shard, [string, required]matchId) - returns array of telemetry data from the match
- getStatus() - returns array of data about API status
- getSamples([string, required]shard) - returns array of sample data
- getSeasons([string, required]shard) - returns array of seasons data
- getSeasonDataForPlayer([string, required]shard, [string, required]playerId, [string, required]seasonId) - returns array of season data for player
- getTournaments() - returns array of data about tournaments
- getTournament([string, required]tournamentId) - returns array of data about tournament
-
getLeaderboard([string, required]shard, [string, required]gameMode) - returns array of data about leaderboard
- getMatches([string, required]shard, [array, required]matchesIds) - returns array of arrays about matches
- getTelemetryByMatch([string, required]telemetryUrl) - returns array of data according to given telemetry url
- setClient([ClientInterface, required]client)
-
setToken([string, required]token)
- hydrate([array, required]data, [string, required]type) - returns object from given array, possible values for type parameter are: HYDRATE_MATCH, HYDRATE_PLAYERS, HYDRATE_PLAYER, HYDRATE_STATUS, HYDRATE_TELEMETRY and HYDRATE_SAMPLES
WIP
- Documentation
- More flexible behaviour
All versions of php-pubg with dependencies
PHP Build Version
Package Version
The package lifeformwp/php-pubg contains the following files
Loading the files please wait ....