See the version list below for details.
NuGet\Install-Package AltarAPIDiabloIII -Version 2.2.0
dotnet add package AltarAPIDiabloIII --version 2.2.0
<PackageReference Include="AltarAPIDiabloIII" Version="2.2.0" />
paket add AltarAPIDiabloIII --version 2.2.0
#r "nuget: AltarAPIDiabloIII, 2.2.0"
// Install AltarAPIDiabloIII as a Cake Addin #addin nuget:?package=AltarAPIDiabloIII&version=2.2.0 // Install AltarAPIDiabloIII as a Cake Tool #tool nuget:?package=AltarAPIDiabloIII&version=2.2.0
The library provide those features :
- The queries are cached, and only requeried if there is changes;
- Requesting informations can be optionally done asynchronously, as it allow the use of the new keywords of .NET 4.5, async and await;
- Can grabs the item’s images (small and large version), and cache them;
- Can use a set of public / private keys to make authenticated requests;
- And more!
|.NET Framework||net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48|
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
- Added season-related properties to Career, Hero and Item;
- Added artisan-related informations to Careers;
- The property AttributesRaw of the various item-related objects now contains its appropriately obtained informations (in the form of a dictionary).
- Fixed a problem with Battletags validation.
- Fixed a potential issue when clearing the items cache in memory;
- Fixed a potential race condition problem when requesting an item;
- Added another overload for 'GetFullItem' that accept the tooltipParams (such as 'item/tyraels-might') of an item.
- Fixed a bug preventing the D3Cache's property ImageAsDirect from functioning as intended;
- Added an optional property to D3Cache, named ImagesLocation, which allow you to choose where the images are stored;
- Fixed the cache initialization to properly recreate deleted directory;
- The images' directory is now recreated while running if it was manually deleted;
- Added a method overload for GetImagePath, now allowing you to obtain SKILLS icons, small or large, for ActiveSkill, PassiveSkill and FollowerSkill;
- Items obtained via GetFullItem can now also be used in the GetImagePath method to obtain their icons;
- This is a mostly complete rewrite of the library;
- I cleaned up the parsing of the data we get from Blizzard into a proper deserialization system;
- The "Get"s methods (i.e. GetCareer, GetFullHero, GetFullItem, etc) are now located directly in the D3Cache class;
- More thread-safety added;
- The Clear() method of D3Cache is now more thorought -- it also clear the in-memory cache;
- More robust -- The library shouldn't normally crash due to minimal changes on Blizzard's part;
- Faster -- Some optimizations has been done across the board;
- ATTENTION : I expect minor bugs to crop up, like deserialization mismatches. If you find any, please send me an Email ASAP, i'll be very grateful !
1.3.2 : A small fix for a bug that came with D3's 2.0.1 patch, which prevented the obtention of a career. More to come once the api is updated for the expansion.