PHP / Ldjam api etc. Anyone used it / doing it?
I thought I'd see if I could query previous theme voting rounds, and do a bit of analysis on common themes etc.
I managed to create a a quick php script that kicks out a json file ( and a json header? )
Example : https://johnnysix.net/GetThemeByEvent.php?event=42
[ { "round": "Round 1", "id": 528, "node": 139254, "theme": "Space exploration", "compo": "Ludum Dare 44", "slug": "44" }, { "round": "Round 1", "id": 529, "node": 139254, "theme": "Everything has a price", "compo": "Ludum Dare 44", "slug": "44" }]
but the json_decode fails :scream:
I'm new to this, and all the things I've checked say its well formatted, and I've tried manually formatting etc. I'm at a loss :cry: