Diablo III Item Pages and Tooltip Script Changes

API Discussion
Well Met, Developer Community!

We would like to inform you all about recent changes to the Game Guide Item pages and Community Tooltip Script. The Diablo Web Team is currently in the process of creating a new backend service to serve data to the Diablo III Community Website and API. This service provides a dynamic system that creates pages for game content (items, recipes, spells, etc.), and is entirely automated using game data. This service should provide more accurate information, and better reflect the attributes on items and recipes. There are some changes associated with this service that affects item pages on the website, and those changes are live now.

The links for each item now contain both the name and ID:


If you are a developer that has a site containing Diablo III item links, you will want to update those links to the new URLs. Furthermore, we have discontinued support for dynamic items (items on someone's Profile) in the Community Tooltip Script.

Our new backend service should provide some enhancements to the Diablo III Community API, and we will try to update you all as we get closer to release. Please let us know of any questions you may have.

Thanks everyone!

- Diablo III Web Team
Can we get a listing of the mappings from old item URL to new item URL? The old ones were pretty straight forward (convert name to lowercase, remove punctuation and replace spaces with "-"). The new ones all have a "unique-ish" suffix, that doesn't seem to be predictable.

10/30/2017 01:54 PMPosted by Ladd
Furthermore, we have discontinued support for dynamic items (items on someone's Profile) in the Community Tooltip Script.


Really??? This is terrible!! Why??? This is a serious let down!!! NOT HAPPY!
Hello, so I am currently building a web application that wants to show the items that your hero has( it doesnt have to be the exact items with the actual stats, it cant be the regular d3 item). Should I be using the legacy apis or the new apis?

how do i create the item link for the tooltip script as of right now?( in the legacy api i cant see a way of building this part "warmonger-Unique_Sword_2H_003_x1" )
Also, the tooltip icons for crafted items no longer seem to work, e.g.:

https://us.battle.net/d3/en/artisan/blacksmith/recipe/reapers-wraps

Edit:

It appears the tooltip URL changed a bit:

Here's the jsonp request that used to work:

https://us.battle.net/d3/en/tooltip/recipe/reapers-wraps?format=jsonp

Now it is:

https://us.battle.net/d3/en/tooltip/blacksmith/recipe/reapers-wraps?format=jsonp
10/31/2017 04:46 AMPosted by Raagh
Hello, so I am currently building a web application that wants to show the items that your hero has( it doesnt have to be the exact items with the actual stats, it cant be the regular d3 item). Should I be using the legacy apis or the new apis?

how do i create the item link for the tooltip script as of right now?( in the legacy api i cant see a way of building this part "warmonger-Unique_Sword_2H_003_x1" )


Using the current API, the item responses contain both the name and the item ID, so the URLs can be built with <nameSlug> - <itemID>. The nameSlug is the lowercase name with punctuation removed, and spaces replaced with dashes, like Dawg6 mentioned. The item IDs should be the same as the links on the site, and this is something that should be addressed by the new API.
I am not using the API, but I do use the Tooltip script on my fansite, and (of course) in all my forum postings. With the change to the game guide links, most of old topics are full of 404 links now.

For that, I did two things:

1.) I wrote a JS-userscript for use in Greasemonkey or Tampermonkey, which replaces all (or at least almost all) deprecated links with the new ones in postings on the official D3 forums. (On the user side.)

2.) I wrote a application for MS Windows which helps me finding the new item links. After the initial scanning phase of the game guide, I just need to type "conve" and the URL to "Convention of Elements" is copied to the clipboard to be pasted in the editor. Common abbreviations like CoE don't work, sadly.

The app will try to create two files in your diablo 3 settings directory (where all the screenshots and the D3Prefs.txt is saved as well) to save some settings and the scanned item links. If the assumed directory doesn't exist, nothing is saved to the hard drive at all.

Video showing the userscript and the application:
https://www.youtube.com/watch?v=PXhe5gGywDw

Userscript (~150 kb)
http://dh-deluxe.de/files/downloads/D3-Item-Guide-Wizard.user.js

Windows-App (XP, 7, 8, 10) (~2 mb)
http://dh-deluxe.de/files/downloads/GameGuideTools.zip

In addition, the application can now replace all links in a guide text. Just copy the deprecated guide text into the application, click "rewrite", and copy&paste it back to the editor. (This functionality is not shown in the video.)

Maybe it is useful for some other players and guide creators as well. :)
New URLs make no sense! And we know the game is dying but why would you have to discontinue something that is taking no resource whatsoever. Gosh this game has gone to !@#$, even the APIs are not worth running anymore.
I really don't understand this, DIablo3 get not much support and not much new content, but now you have nothing better to do, as destroying the links for all the Fanpages? You throw stones on the way to make it harder to walk.
And there is absolute no reason for it.

Join the Conversation

Return to Forum