yanndecelle / theelderscrollslore
There is no license information available for the latest version (dev-main) of this package.
a library to get the elder scrolls characters's data
dev-main
2023-07-04 07:33 UTC
Requires
- php: >=8.0
Requires (Dev)
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^10.2
This package is auto-updated.
Last update: 2024-12-04 10:22:55 UTC
README
The Elder Scrolls Character Scraper is a PHP library that allows you to scrape character information from the Elder Scrolls Fandom website. It retrieves data such as the character's name, race, religion, gender, description, and image.
Installation
Clone or download the repository to include the library in your project:
git clone <repository_url>
Usage
- Include the library in your PHP file:
require_once 'src/index.php';
- Create an instance of the
ElderScrollsCharacterScraper
class:
$scraper = new ElderScrollsCharacterScraper();
- Call the
scrapeCharacters()
method to retrieve character information:
$scraper->scrapeCharacters();
- Customize the code as needed and add additional functionality based on your requirements.
Example
Here's an example usage of the library:
<?php require_once 'src/index.php'; $scraper = new ElderScrollsCharacterScraper(); $scraper->scrapeCharacters(); ?>
Contributing
Contributions are welcome! If you find any issues or want to add new features, please open an issue or submit a pull request.
Before submitting a pull request, make sure to run tests and ensure that your changes are compatible with the library.