Can I use iCloud API in web application?

Bhaarat picture Bhaarat · Jul 17, 2013 · Viewed 21.9k times · Source

I am new for iCloud API. I want to know can we use iCloud API in web Application ? Is it possible to access iCloud API via web ?

Answer

brian.clear picture brian.clear · Aug 19, 2015

use CloudKit JS

CloudKit JS provides JavaScript APIs for accessing data in your app’s CloudKit containers.

CloudKit JS allows you to build a web interface for users to access the same containers as your CloudKit app running on iOS or OS X. You must have an existing CloudKit app and enable web services to use CloudKit JS.

https://developer.apple.com/library/prerelease/ios/documentation/CloudKitJS/Reference/CloudKitJavaScriptReference/index.html