PHP Classes

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

Recommend this page to a friend!
  Info   Videos Videos   View files View files (25)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2024-01-09 (4 days ago) RSS 2.0 feedNot enough user ratingsTotal: 224 This week: 1All time: 8,206 This week: 348Up
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

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  
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  /  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  /  img  
File Role Description
Files folder imageitems (2 directories)
Files folder imagepaperdolls (10 files)
Files folder imageskills (3 directories)

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

  Files folder image Files  /  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  /  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  /  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  /  img  /  skills  
File Role Description
Files folder image21 (1 file)
Files folder image42 (1 file)
Files folder image64 (1 file)

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

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

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:224
This week:1
All time:8,206
This week:348Up