You can also just use the screepers python client library. We do a fairly decent job of keeping it up to date with all the changes the devs make, as it's used to drive a lot of the third party projects.