Connecting to the API works, building the JSON needs some work