Hi everyone, I wrote a simple library in C# for calling Blizzard Diablo 3 API and getting the data. It can be great if you are working on some .NET Diablo 3 application already, or plan to do so in the future. I made it for my Diablo 3 Windows Phone application, but unfortunately, I stopped working on that project.
Anyway, maybe someone will find this useful. Of course, if you have ideas how to improve something and you are willing to contribute - go ahead and do it. Right now, the option for getting item data is missing (I am working on that) and there are some unhandled exceptions (mainly for handling errors caused by sending stupid data to the API). The project also have a small demo included, where you can see how to use the library.
I did some additional work regarding the repository - basically I recreated it after one very bad merge issue. However, now I am seeing issue with Newtonsoft.Json reference - it seems like it is missing. The easy solution is to simply use Nuget from Visual Studio, uninstall and then reinstall the library - and that's it. I'll look more into it by the end of the week.
OK, I managed to resolve the problem - I simply removed "packages" folder, generated by NuGet and modified gitignore file to exclude packages. When you download the solution, simply allow NuGet to restore packages:
- Option 2: If you click "Manage NuGet packages for soultion" option, NuGet will detect that some packages are missing and will ask to restore them. Allow it to restore the packages and that's it!
Hi everyone, I wrote a simple library in C# for calling Blizzard Diablo 3 API and getting the data. It can be great if you are working on some .NET Diablo 3 application already, or plan to do so in the future. I made it for my Diablo 3 Windows Phone application, but unfortunately, I stopped working on that project.
Anyway, maybe someone will find this useful. Of course, if you have ideas how to improve something and you are willing to contribute - go ahead and do it. Right now, the option for getting item data is missing (I am working on that) and there are some unhandled exceptions (mainly for handling errors caused by sending stupid data to the API). The project also have a small demo included, where you can see how to use the library.
GitHub repository is here: https://github.com/codeforgebelgrade/Diablo3-API-Library
I did some additional work regarding the repository - basically I recreated it after one very bad merge issue. However, now I am seeing issue with Newtonsoft.Json reference - it seems like it is missing. The easy solution is to simply use Nuget from Visual Studio, uninstall and then reinstall the library - and that's it. I'll look more into it by the end of the week.
OK, I managed to resolve the problem - I simply removed "packages" folder, generated by NuGet and modified gitignore file to exclude packages. When you download the solution, simply allow NuGet to restore packages:
- Option 1: follow the instructions here: http://blog.codingoutloud.com/2013/08/31/are-you-missing-an-assembly-reference-why-yes-i-am-so-kind-of-you-to-ask/
- Option 2: If you click "Manage NuGet packages for soultion" option, NuGet will detect that some packages are missing and will ask to restore them. Allow it to restore the packages and that's it!
More on package restore: http://docs.nuget.org/consume/package-restore
Hey Nachten - that's great, let me know if you need some help or some information.
Btw, tools I used are: Visual Studio 2015 Community Edition and Atlassian SourceTree (as Git client) on Windows 10 machine.