Apple has updated its CloudKit service with server-to-server capabilities, making it easier to use outside of Apple’s locked-down environment.
From Apple:
In addition to providing a web interface for users to access the same data as your app, you can now easily read and write to the CloudKit public database from a server-side process or script with a server-to-server key.