Game libraries are used to track the inventory of games used at Convention,
usually for free checkout.
Librarys are accessed via /api/library.
See "Object Properties" in Introduction for basic shared properties.
Complete details in LibraryProperties.
See "Related Objects" in Introduction for how to use them.
The GeoLocation that this library calls home.
The User that owns this library.
See "Relationships" in Introduction for how to use them.
The history of LibraryGameCheckouts for a game.
Conventions that have used this library.
The LibraryGames contained within this library. See LibraryGame for available search options.
The LibraryInventorys associated with this library.
The LibraryGames contained within this library. Deprecated, use games instead.
The LibraryInventorys associated with this library. Deprecated, use inventories instead.
The PlayToWins associated with this library.
The services used to fetch and manipulate libraries.
This will search across all libraries.
GET /api/library
Searches a partial name.
Returns:
{
"paging" : {...},
"items" : [
{
"id" : "xxx",
"name" : "Gulf Coast Library",
...
},
...
]
}
POST /api/library
Returns the same as a normal read.
GET /api/library/xxx
Returns:
{
"id" : "xxx",
"name" : "Gulf Coast Library",
...
}
PUT /api/library/xxx
Returns the same as a normal read.
DELETE /api/library/xxx
Returns:
{
"success" : 1
}
For looking up users to receive library privileges.
GET /api/library/xxx/user
Generically search users based upon partial display names or real names, or exact matches for email addresses, if the user has set their account email to be visible to organizers.
Returns:
{
"paging" : {...},
"items" : [
{
"id" : "xxx",
"display_name" : "Joe User",
...
},
...
]
}
This imports a game collection from a user on Board Game Geek.
POST /api/library/xxx/import/bgg
The username of the user who's collection you'd like to import into this library. Calling this service just starts the process. It will continue in the background and email the library owner when complete.
Returns:
{
"success" : 1
}