converting Explorer PHP back into JSON

29 views
Skip to first unread message

Pete Jelliffe

unread,
May 29, 2012, 5:16:57 PM5/29/12
to untappd-api-d...@googlegroups.com
Is there an easy way to convert the text output by the Explorer back into JSON?  I'm in very preliminary stages and don't have working CURL code to query the API directly.  Was hoping just to use the Explorer to output some sample data and parse it, but can't seem to figure out the stdObject Object output.

Thanks,
Pete

Greg Avola

unread,
May 30, 2012, 10:40:51 AM5/30/12
to Untappd API Developer Group
Pete,

Not sure what you are looking to do? Are you just copying and pasting
the the results from the explorer and trying to pare them via
JavaScript or something.

Perhaps you can post a sample of what you are trying to do?

Thanks,
Greg

Pete Jelliffe

unread,
May 30, 2012, 2:05:15 PM5/30/12
to untappd-api-d...@googlegroups.com
I'd like to do either of 2 things:

1. copy and paste the Explorer response into a PHP file and use it there.  Not sure how to use the stdObject Object.
2. Turn the Explorer response into JSON so I can use it with javascript in a HTML page.

I don't have the code to query the API just yet, so I'd like to play around with the Explorer response as a static data file.
Reply all
Reply to author
Forward
0 new messages