I thought with an official API, this should be much easier now.
I think they are working on it and it’s almost done: