1. Go to this page and download the library: Download cdburgess/bggapi 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/ */
cdburgess / bggapi example snippets
$thing = new Thing();
$this->id(167355);
$data = $thing->send();
$thing = new Thing();
$data = $thing->id(167355)
->send();
$thing = new Thing();
$data = $thing->id([167355, 167356, 167357])
->send();
$thing = new Thing();
$dataArray = $thing->id(167355)
->toArray()
->send();
$thing = new Thing();
$dataJson = $thing->id(167355)
->toJson()
->send();
$collection = new Collection();
$family = new Family();
$forumList = new ForumList();
$forum = new Forum();
$hot = new Hot();
$plays = new Plays();
$search = new Search();
$thing = new Thing();
$thread = new Thread();
$user = new User();
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.