title: Azure Credit Balance
body: <p>I'm new to Azure API's and am trying to create a simple interface to grab the remaining credits on a handful of azure accounts that I manage.  I started doing this using vbs as that's the only language I'm really familiar with.  I ran into several issues with login pages and someone recommended using the Azure API.</p>
  
  <p>I've wandered into an area I'm wholly unfamiliar with.  From what I'm reading it's a relatively new interface as is and most people are unfamiliar with it. I've used the following sample:</p>
  
  <p><a href="https://azure.microsoft.com/en-us/documentation/samples/billing-dotnet-usage-api/" rel="nofollow">https://azure.microsoft.com/en-us/documentation/samples/billing-dotnet-usage-api/</a></p>
  
  <p>To be able to log into the account but from there I'm stuck really.  The code provided just returns an empty "value[]" as a result.</p>
  
  <p>I'm sort of at a loss.  I'm reading through the azure API resources on MSDN but most pages referencing credits are just telling you what you can spend credits on.</p>
  
  <p>I've started browsing:</p>
  
  <p><a href="https://github.com/Azure" rel="nofollow">https://github.com/Azure</a></p>
  
  <p>Hoping to find something there but so far have turned up little in terms of just grabbing credits remaining.</p>
  
  <p>I hope I'm making sense.  I hope I'm not overthinking this and someone can point me in the right direction.</p>