Skip to content

Commit

Permalink
Updated according to new Battle.net API changes.
Browse files Browse the repository at this point in the history
Removed old authentication method and replaced it with new API KEY. Also
updated README More updates to come.
  • Loading branch information
XjSv committed Nov 13, 2014
1 parent 637bd1d commit 45dcc05
Show file tree
Hide file tree
Showing 2 changed files with 644 additions and 653 deletions.
38 changes: 19 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,25 @@
# Diablo 3 API PHP
A Diablo 3 Web API wrapper written in PHP.
A Diablo 3 Web API wrapper written in PHP.

This is meant to be very simple, easy to use and modify.
It supports authenticated API calls and 'If-Modified-Since' header.
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. At the time of writing this, career and hero data do not honor 'If-Modified-Since' header and do not return a 'Last-Modified' header neither. Because of this, career and hero data are always received from the API not cache.
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.

### API Limits (as of 6/12/2013)
Unauthenticated API Limit: **30,000**
Authenticated API Limit: **300,000**

### Required Folder Structure (for images and cache):
### Required Folder Structure (for images and cache):
* root
* cache
* img
* items
* large
* small
* skills
* 21
* 42
* 64
* cache
* img
* items
* large
* small
* skills
* 21
* 42
* 64

### Methods Available
+ Get Career Profile
Expand All @@ -37,6 +35,8 @@ Authenticated API Limit: **300,000**
+ Get All Hero Skill Images
+ Get Paperdoll

Original Blizzard API Documentation: [http://blizzard.github.com/d3-api-docs/](http://blizzard.github.com/d3-api-docs/)
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_
Loading

0 comments on commit 45dcc05

Please sign in to comment.