BungieNetPlatform 2.1.3

A library for the Bungie.net Destiny 2 API

Install-Package BungieNetPlatform -Version 2.1.3
dotnet add package BungieNetPlatform --version 2.1.3
<PackageReference Include="BungieNetPlatform" Version="2.1.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BungieNetPlatform --version 2.1.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

BungieNetPlatform - the C# library for the Bungie.Net API

Source Code on GitHub

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 );
            }

        }
    }
}

BungieNetPlatform - the C# library for the Bungie.Net API

Source Code on GitHub

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 );
            }

        }
    }
}

Release Notes

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.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.3 451 1/26/2018
2.1.2 284 1/26/2018
2.1.1 246 1/26/2018