API to CSV?

19 views
Skip to first unread message

Gray River

unread,
Apr 14, 2012, 5:34:33 PM4/14/12
to tumbl...@googlegroups.com
Hi there,

I want to visualise the data from posts, reblogs and likes on two different tumblr pages.  Does anyone know how I can convert the JSON results retrieved from the API into a CSV file or a format that I could then pull into Gephi or into a Google Spreadsheet?

Thanks,

-G

Kyle Wanamaker

unread,
Apr 14, 2012, 6:35:09 PM4/14/12
to tumbl...@googlegroups.com, tumbl...@googlegroups.com
In PHP use json_decode($array, true) and fputcsv.

Should be < 10 lines. Php.net has documentation.

Sent from my iPhone

Reply all
Reply to author
Forward
0 new messages