title: Trying to get steam user inventory on website with json/jsonp in javascript not working
body: <p>I am trying to get a users inventory to display on my website in javascript, I am not doing this in php because I don't want an index.php file (is it even possible? I don't know how all these gambling sites do it but they don't have index.php files etc, but can't find the code in their source).
  
  code:</p>
  
  <pre><code>    $.ajax({
         url: 'http://steamcommunity.com/inventory/76561197990326241/730/2?l=english&amp;count=5000',
         dataType: 'JSONP',
         jsonpCallback: 'callback',
         type: 'GET',
         success: function (data) {
             console.log(data);
         }
     });
  </code></pre>
  
  <p>And the error is: 'Uncaught SyntaxError: Unexpected token :' on line '2?l=english&amp;count=5000&amp;callback=callback&amp;_=1512159196779:1' this is what I see in my browser console, I have searched on the internet and tried a several different things but they all give an error, and most of the other people that did this either did it in php or there was never really a specific answer posted. 
  And after getting this to work, I need to be able to get to use this object, so would I have to put all my code relating to this json call inside the success: function, function? Or can I access the json outside that ajax request?</p>