PHP Classes

PHP Diablo 3 API: Get details of Diablo 3 game using its API

Recommend this page to a friend!
  Info   Videos   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (9 months ago) RSS 2.0 feedStarStarStar 44%Total: 225 All time: 8,216 This week: 206Up
Version Licenses PHP version Categories
diablo-3-api 1.12GNU General Publi...5.0PHP 5, Games, Web services
Description 

Author

This class can get details of Diablo 3 game using its API.

It can send HTTP requests to the Diablo 3 API Web servers to get several types of details of the game play. Currently it can:

- Get the career profile
- Get the hero profile
- Get item information
- Get follower information
- Get artisan information
- Get item image,
- Get skill image
- Get skill tooltip
- Get skill rune tooltip
- Get paperdoll

Picture of Armand Tresova
  Performance   Level  
Name: Armand Tresova <contact>
Classes: 1 package by
Country: United States United States
Age: 38
All time rank: 4079523 in United States United States
Week rank: 214 Up28 in United States United States Up

Details

# !!! No longer working due to changes to the API !!! # Diablo 3 API PHP A Diablo 3 Web API wrapper written in PHP. This is meant to be very simple, easy to use and modify. It supports the 'If-Modified-Since' header. o Create an account at [dev.battle.net](https://dev.battle.net/) to obtain an API Key. ### Caching If caching is enabled when calling the API, the 'If-Modified-Since' header will be effect. This however does not save on API points. Points will still be deducted from your limit. A '304 Not Modified' response from the API will only save bandwidth and time. ### Required Folder Structure (for images and cache): * root * cache * img * items * large * small * skills * 21 * 42 * 64 ### Methods Available + Get Career Profile + Get Hero Profile + Get Item Information + Get Follower Information + Get Artisan Information + Get Item Image + Get Skill Image + Get Skill Tooltip + Get Skill Rune Tooltip + Get All Hero Item Images + Get All Hero Skill Images + Get Paperdoll Official Site: [https://dev.battle.net/](https://dev.battle.net/) Original Documentation: [https://dev.battle.net/io-docs](https://dev.battle.net/io-docs) _Dual Licensed: MIT/GPL_

  Files folder image Files (25)  
File Role Description
Files folder imagecache (2 files)
Files folder imageimg (3 directories)
Accessible without login Plain text file .whitesource Data Auxiliary data
Plain text file diablo3.api.class.php Class Class source
Accessible without login Plain text file LICENSE-GPL.txt Lic. License text
Accessible without login Plain text file LICENSE-MIT.txt Lic. License text
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file usage.php Example Example script

  Files folder image Files (25)  /  cache  
File Role Description
  Accessible without login Plain text file 096e5009572fac1da1b09ad95e40145f Data Example File
  Accessible without login Plain text file 7fce72743079bc67fdf790f4a56275ce Data Example File

  Files folder image Files (25)  /  img  
File Role Description
Files folder imageitems (2 directories)
Files folder imagepaperdolls (10 files)
Files folder imageskills (3 directories)

  Files folder image Files (25)  /  img  /  items  
File Role Description
Files folder imagelarge (2 files)
Files folder imagesmall (2 files)

  Files folder image Files (25)  /  img  /  items  /  large  
File Role Description
  Accessible without login Image file helm_205_barbarian_male.png Icon Icon image
  Accessible without login Image file unique_chest_013_1...emonhunter_male.png Icon Icon image

  Files folder image Files (25)  /  img  /  items  /  small  
File Role Description
  Accessible without login Image file dye_13_witchdoctor_male.png Icon Icon image
  Accessible without login Image file helm_205_barbarian_male.png Icon Icon image

  Files folder image Files (25)  /  img  /  paperdolls  
File Role Description
  Accessible without login Image file barbarian-female.jpg Data Auxiliary data
  Accessible without login Image file barbarian-male.jpg Data Auxiliary data
  Accessible without login Image file demon-hunter-female.jpg Data Auxiliary data
  Accessible without login Image file demon-hunter-male.jpg Data Auxiliary data
  Accessible without login Image file monk-female.jpg Data Auxiliary data
  Accessible without login Image file monk-male.jpg Data Auxiliary data
  Accessible without login Image file witch-doctor-female.jpg Data Auxiliary data
  Accessible without login Image file witch-doctor-male.jpg Data Auxiliary data
  Accessible without login Image file wizard-female.jpg Data Auxiliary data
  Accessible without login Image file wizard-male.jpg Data Auxiliary data

  Files folder image Files (25)  /  img  /  skills  
File Role Description
Files folder image21 (1 file)
Files folder image42 (1 file)
Files folder image64 (1 file)

  Files folder image Files (25)  /  img  /  skills  /  21  
File Role Description
  Accessible without login Image file barbarian_frenzy.png Icon Icon image

  Files folder image Files (25)  /  img  /  skills  /  42  
File Role Description
  Accessible without login Image file barbarian_frenzy.png Icon Icon image

  Files folder image Files (25)  /  img  /  skills  /  64  
File Role Description
  Accessible without login Image file barbarian_frenzy.png Icon Icon image

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:225
This week:0
All time:8,216
This week:206Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:50%StarStarStar
Documentation:50%StarStarStar
Examples:41%StarStarStar
Tests:-
Videos:50%StarStarStar
Overall:44%StarStarStar
Rank:3484