BungieNetPlatform 2.1.3
dotnet add package BungieNetPlatform --version 2.1.3
NuGet\Install-Package BungieNetPlatform -Version 2.1.3
<PackageReference Include="BungieNetPlatform" Version="2.1.3" />
paket add BungieNetPlatform --version 2.1.3
#r "nuget: BungieNetPlatform, 2.1.3"
// Install BungieNetPlatform as a Cake Addin #addin nuget:?package=BungieNetPlatform&version=2.1.3 // Install BungieNetPlatform as a Cake Tool #tool nuget:?package=BungieNetPlatform&version=2.1.3
BungieNetPlatform - the C# library for the Bungie.Net API
These endpoints constitute the functionality exposed by Bungie.net, both for more traditional website functionality and for connectivity to Bungie video games and their related functionality.
This C# SDK is automatically generated by the Swagger Codegen project:
- API version: 2.0.1
- SDK version: 2.1.3
- Build package: io.swagger.codegen.languages.CSharpClientCodegen (modified for Bungie OpenAPI file). For more information, please visit https://github.com/Bungie-net/api
Frameworks supported
- .NET 4.0 or later
Dependencies
The DLLs included in the package may not be the latest version. We recommend using [NuGet] (https://docs.nuget.org/consume/installing-nuget) to obtain the latest version of the packages:
Install-Package RestSharp
Install-Package Newtonsoft.Json
NOTE: RestSharp versions greater than 105.1.0 have a bug which causes file uploads to fail. See RestSharp#742
Then include the DLL (under the bin
folder) in the C# project, and use the namespaces:
using BungieNetPlatform.BungieNetPlatform.Api;
using BungieNetPlatform.Client;
using BungieNetPlatform.BungieNetPlatform.Model;
Getting Started
using System;
using System.Diagnostics;
using BungieNetPlatform.BungieNetPlatform.Api;
using BungieNetPlatform.Client;
using BungieNetPlatform.BungieNetPlatform.Model;
namespace Example
{
public class Example
{
public void main()
{
var apiInstance = new CommunityContentApi();
var mediaFilter = 56; // int? | The type of media to get
var page = 56; // int? | Zero based page
var sort = 56; // int? | The sort mode.
try
{
InlineResponse2006 result = apiInstance.CommunityContentGetCommunityContent(mediaFilter, page, sort);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling CommunityContentApi.CommunityContentGetCommunityContent: " + e.Message );
}
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- NewtonSoft.Json (>= 10.0.3)
- RestSharp (>= 105.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Corrected issue with DestinyMiscDestinyColor being set to byte rather than int.
Corrected issue where instances of IDictionary where not being properly implemented within the mustache template for generating this code.