JavaScript is required to use Bungie.net

#Bungie

originally posted in:BungieNetPlatform
Edited by BNGHelp3: 2/20/2015 11:56:23 PM
2

I'm new to communicating with an API, and I need help.

I'm programming a Windows Phone app in C#, and would like to use the API, to get the user's characters, and emblems. All I want to do is communicate with it, de-serialize the JSON object with "using Newtonsoft.Json;", and then display the data. Does anyone know of any walkthroughs or sample code I could look at to get an idea of how to make this work? Also what is the API key used for, and how would I implement it? I've [url=https://www.bungie.net/en/Clan/Post/39966/68778685/0/0]seen[/url] what dazarobbo has done with the C# library, but I can't figure out how to use this, or even implement it.
English
#Bungie

Posting in language:

 

Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

  • Edited by Inirit: 2/23/2015 11:00:13 PM
    In regards to how the API key is used, read through [url=https://www.bungie.net/en/Clan/Post/39966/85087279/0/0]this post[/url], it should have all you need to know about it. As far as how to interact with the API, a lot of it is up to you on how you want to make the web requests and manage the responses. You could start by checking out the HttpWebRequest object and trying to craft a platform request with it, it's what I use to drive a lot of our automated testing infrastructure (I know nothing about Windows Phone development, though, so maybe there is a more specialized way to handle web requests).

    Posting in language:

     

    Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    2 Replies
    • Hi Step Did you make something about your app?

      Posting in language:

       

      Play nice. Take a minute to review our Code of Conduct before submitting your post. Cancel Edit Create Fireteam Post

    You are not allowed to view this content.
    ;
    preload icon
    preload icon
    preload icon