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

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

  1. Include the library in your PHP file:
require_once 'src/index.php';
  1. Create an instance of the ElderScrollsCharacterScraper class:
$scraper = new ElderScrollsCharacterScraper();
  1. Call the scrapeCharacters() method to retrieve character information:
$scraper->scrapeCharacters();
  1. 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.