Download the PHP package artur-stepien/wargaming-papi without Composer
On this page you can find all versions of the php package artur-stepien/wargaming-papi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download artur-stepien/wargaming-papi
More information about artur-stepien/wargaming-papi
Files in artur-stepien/wargaming-papi
Package wargaming-papi
Short Description Provides a useful interface to connect and use Wargaming Public API
License GPL-3.0-or-later
Homepage https://github.com/artur-stepien/wargaming-papi
Informations about the package wargaming-papi
Wargaming Public API
Basic PHP library handling Wargaming Public API. Uses namespace to get data sources so it is compatible with all sources (WoT, Blitz, WGN, WoWp and also WoWs) and all servers (EU,NA,ASIA,RU,KR). All it needs is application_id that can be obtained here https://eu.wargaming.net/developers/applications/ (for EU).
Requirements
- PHP 7.0+
- CURL
Sample usage
Sample ETag usage
How to get ETag from API request
News
1.4.1 - 2022-05-09
- Allow chaining in set methods.
- Simplified some of the conditions.
- Fixed few typos in documentation.
1.4.0 - 2021-06-08
- Prepared for use in dependency injection.
- Added a
public function setSSLVerification(bool $state)
method to change SSL connection verification status (CURLOPT_SSL_VERIFYPEER). - Changed api instance declaration to allow multiple servers
- Added server instance declaration to allow injected application id (api key)
1.3.1 - 2018-02-26
Creating composer package.
1.3 - 2017-10-09
Moving to PHP7, changing code to PSR.
1.2 - 2016-02-06
From now if CURL return an error class will throw exception with that error message. Also added support for ETag (Documentation) and HTTP headers.
1.1 - 2015-08-20
Moved to CURL for requests. Speed boost shoold be from 50% - 150% cause of reusing connection. Checked on my WN8 calculation class. Regular calculation takes 0.32s
1.04 - 2015-08-19
Fixed few error messages.
1.03 - 2015-08-17
Fixed error handling for associative arrays, added new error messages.
1.02 - 2015-08-17
Added new parameter to API::get()
called $assoc. If this parameter is set to true, function will return associative array instead of object/array of objects.
All versions of wargaming-papi with dependencies
ext-json Version *
ext-curl Version *