The Battle.net Diablo 3 database loader
Stay awhile and query.
Deckard is a PHP 5.4+ library that loads Battle.net Diablo 3 Web API data into a database of your choice. You can queue requests and rate limit them. You can also use our models in your application to access the database, and even create a default database schema to store the data in.
Features
- Queue all Diablo 3 API methods implemented
-
Simple command line
queue
interface -
Simple object
Queue->data()
interface - Gzip compression enabled by default
- 100% code coverage through unit tests and mutation testing
It is extremely easy to use from the command line:
# queue a hero lookup
decard queue EUROPE wudijo#2228
Or from PHP:
$queue = new Deckard\Queue();
$queue->add(Deckard\Region::EUROPE, 'wudijo#2228');
Installing via Composer
The recommended way to install Deckard is through Composer.
# Install Composer
curl -sS https://getcomposer.org/installer | php
Next, run the Composer command to install the latest stable version:
composer.phar require deckard/deckard
After installing, you need to require Composer's autoloader:
require 'vendor/autoload.php';
Implementation Status
As of May 5, 2015
D3 Community API
- /d3/profile/:battletag/
- /d3/profile/:battletag/hero/:id
- /d3/data/item/:data
- /d3/data/follower/:follower
- /d3/data/artisan/:artisan
Documentation
Learn how to use Deckard in our User Manual.
Releases
There has not been a release of Deckard yet. Please stay tuned.
See Releases for older releases.
Issues
Bug reports and feature requests can be submitted using the Github Issue Tracker.
Support Me
Hi, I'm Finlay Beaton (@ofbeaton). This software is only made possible by donations of fellow users like you, encouraging me to toil the midnight hours away and sweat into the code and documentation. Everyone's time should be valuable, please seriously consider donating.
Website Paypal Donate Button | Paypal Email Money Form
License
This software is distributed under the MIT License. Please see License file for more information.
Battle.net and Diablo are copyrighted by Blizzard Entertainment, Inc.
This library is neither endorsed by nor associated with Blizzard Entertainment, Inc.