PHP code example of gboquizosanchez / screenscraper
1. Go to this page and download the library: Download gboquizosanchez/screenscraper library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
gboquizosanchez / screenscraper example snippets
use ScreenScraper\ScreenScraperClient;
ScreenScraperClient::getGame(gameId: 1);
use ScreenScraper\Data\AuthData;
use ScreenScraper\Models\ScreenScraper;
$auth = new AuthData(
devId: 'your_dev_id',
devPassword: 'your_dev_password',
softname: 'Your App Name',
output: 'json',
ssid: 'your_username',
sspassword: 'your_password',
);
$client = new ScreenScraper($auth);
$client->getGame(gameId: 1);
$auth = new AuthData(...config('screenscraper.credentials'));