File tree Expand file tree Collapse file tree 1 file changed +8
-55
lines changed Expand file tree Collapse file tree 1 file changed +8
-55
lines changed Original file line number Diff line number Diff line change @@ -2332,11 +2332,7 @@ that it does not respond to locale or json parameters because it is not part of
2332
2332
the api service. Requests to the actual data file also do not count towards any
2333
2333
request limits.
2334
2334
2335
- ### Item Resources
2336
-
2337
- Item APIs currently provide item information.
2338
-
2339
- #### Item API
2335
+ ## Item API
2340
2336
2341
2337
The item API provides detailed item information. This includes item
2342
2338
set information if this item is part of a set.
@@ -2345,56 +2341,13 @@ set information if this item is part of a set.
2345
2341
URL = Host + "/api/wow/item/" + ItemId
2346
2342
```
2347
2343
2348
- * An example Item API request and response*
2349
- ``` plain
2350
- GET /api/wow/item/38268 HTTP/1.1
2351
- Host: us.battle.net
2352
- ```
2353
- ``` json
2354
- {
2355
- "id" :38268 ,
2356
- "disenchantingSkillRank" :-1 ,
2357
- "description" :" Give to a Friend" ,
2358
- "name" :" Spare Hand" ,
2359
- "stackable" :1 ,
2360
- "itemBind" : 0 ,
2361
- "bonusStats" :[],
2362
- "itemSpells" :[],
2363
- "buyPrice" :12 ,
2364
- "itemClass" : 2 ,
2365
- "itemSubClass" : 14 ,
2366
- "containerSlots" :0 ,
2367
- "weaponInfo" :{
2368
- "damage" :[
2369
- {
2370
- "minDamage" :1 ,
2371
- "maxDamage" :2
2372
- }
2373
- ],
2374
- "weaponSpeed" :2.5 ,
2375
- "dps" :0.6
2376
- },
2377
- "inventoryType" :13 ,
2378
- "equippable" :true ,
2379
- "itemLevel" :1 ,
2380
- "maxCount" :0 ,
2381
- "maxDurability" :16 ,
2382
- "minFactionId" :0 ,
2383
- "minReputation" :0 ,
2384
- "quality" :0 ,
2385
- "sellPrice" :2 ,
2386
- "requiredLevel" :70 ,
2387
- "requiredSkill" :0 ,
2388
- "requiredSkillRank" :0 ,
2389
- "itemSource" :{
2390
- "sourceId" :0 ,
2391
- "sourceType" :" NONE"
2392
- },
2393
- "baseArmor" :0 ,
2394
- "hasSockets" :false ,
2395
- "isAuctionable" :true
2396
- }
2397
- ```
2344
+ <dl >
2345
+ <dt >Example URL</dt >
2346
+ <dd >[/api/wow/item/18803](http://us.battle.net/api/wow/item/18803)</dd >
2347
+ <dt >Example Data</dt >
2348
+ <dd >[item.json](https://gist.github.com/3772776#file_item.json)</dd >
2349
+ </dl >
2350
+ <script src =" https://gist.github.com/3772776.js?file=item.json " ></script >
2398
2351
2399
2352
#### Item Set API
2400
2353
You can’t perform that action at this time.
0 commit comments