wprs / api
Provides an API for CIVL WPRS
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^7.4 || ^8.0
- ext-curl: *
- composer/ca-bundle: ^1.3
Requires (Dev)
- johnstevenson/json-works: ^2.1
- phpstan/phpstan: ^1.0
- phpstan/phpstan-strict-rules: ^1.1
- phpunit/phpunit: ^9.6
README
A PHP library to scrape data from the FAI CIVL World Ranking System (WPRS)
Installation
Install the latest version with:
$ composer require wprs/api
Requirements
- PHP 7.4 minimum, although using the latest PHP version is highly recommended.
About
The original WPRS stopped receiving updates when a new system was introduced in 2021. Despite hopes that a basic API (at minimum) would be provided, this did not happen.
This library provides an API for page-scraping the new web site. It is hoped that this may lead to a proper API in the future.
Usage
Full usage information is available in the documentation.
License
This library is licensed under the MIT License, see the LICENSE file for details.