JavaScript is required to use Bungie.net

Group Avatar

BungieNetPlatform

"Updates, discussions, and documentation of the BungieNetPlatform API."

Request Join
originally posted in:BungieNetPlatform
Edited by Syropian: 2/9/2015 2:19:52 AM
3

Simple curl request to fetch info for a certain player

Trying to get my head around the API, by making a simple CURL call. I tried: [quote]curl -H "X-API-Key: <myapikey>" http://www.bungie.net/platform/Destiny/SearchDestinyPlayer/1/Syropian/[/quote] but I just got this back: [quote]{"Response":[{"iconPath":"/img/theme/destiny/icons/icon_xbl.png","membershipType":1,"membershipId":"4611686018439274225","displayName":"Syropian"}],"ErrorCode":1,"ThrottleSeconds":0,"ErrorStatus":"Success","Message":"Ok","MessageData":{}}[/quote] Any ideas where I went wrong?

Posting in language:

 

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

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