originally posted in:BungieNetPlatform
View Entire Topic
I made this as a school project, but I figured it may help some of you out there who are just getting started with the Destiny API with little to no experience. Hope it helps!
English
-
This is incredibly helpful, thank you! I wanted to point out that I had some issue initially. Using CURLOPT_HEADER I was getting a bunch of additional header information passed straight back to PHP and json_decode was not parsing the response correctly. I had to stumble upon this [url=http://bungienetplatform.wikia.com/wiki/Getting_Started]getting started article[/url] to realize that changing this option from CURLOPT_HEADER to CURLOPT_HTTPHEADER made all the difference in the world. This is probably due to my being fairly new to PHP and cURL and how it all works - but I wanted to share this tidbit in case anyone else is frantically searching around with a similar issue.