2017 © Pedro Peláez
 

library shelf

BoardGameGeek API 2.0 Wrapper for PHP

image

janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  • Monday, February 17, 2014
  • by janiv
  • Repository
  • 1 Watchers
  • 2 Stars
  • 419 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

Shelf

A PHP Library to work with the Board Game Geek XML API2 through Guzzle and Entities, (*1)

Example

<?php

include 'vendor/autoload.php';

$client = Shelf\Client::factory();

// Getting a single game
$response = $client->getBoardgame(
    array('id' => 13)
);
$game = $response->getBoardgame();

echo '

' . $game->getPrimaryName()->getValue() . ', (*2)

'; // Getting a collection of games $response = $client->getBoardgames( array('id' => array(12, 13, 34119)) ); $games = $response->getBoardgames(); foreach ($games as $game) { echo '

' . $game->getPrimaryName()->getValue() . ', (*3)

'; }

The Versions

17/02 2014

dev-master

9999999-dev http://github.com/janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

board game boardgamegeek bgg

17/02 2014

v0.2.0

0.2.0.0 http://github.com/janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

board game boardgamegeek bgg

28/11 2013

v0.1.2

0.1.2.0 http://github.com/janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

board game boardgamegeek bgg

28/11 2013

v0.1.1

0.1.1.0 http://github.com/janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

board game boardgamegeek bgg

16/11 2013

v0.1.0

0.1.0.0 http://github.com/janiv/shelf

BoardGameGeek API 2.0 Wrapper for PHP

  Sources   Download

MIT

The Requires

 

The Development Requires

board game boardgamegeek bgg