Module: ICloud

Defined in:
lib/icloud.rb,
lib/icloud/version.rb

Defined Under Namespace

Classes: Api

Constant Summary collapse

URLS =
{
	version: "https://www.icloud.com/system/version.json",
	validate: "https://setup.icloud.com",
   # validate: "https://setup.icloud.com/setup/ws/1/validate?clientBuildNumber={0}&clientId={1}",
	authenticate: "https://setup.icloud.com",
   # authenticate: "https://setup.icloud.com/setup/ws/1/login?clientBuildNumber={0}&clientId={1}",
	logout_no_services: "https://setup.icloud.com/setup/ws/1/logout",
	get_contacts_list: "{0}/co/startup?clientBuildNumber={1}&clientId={2}&clientVersion=2.1&dsid={3}&id={4}&locale=en_US&order=last%2Cfirst",
	refresh_web_auth: "{0}/refreshWebAuth?clientBuildNumber={1}&clientId={2}&dsid={3}&id={4}",
	get_notes_list: "{0}/no/startup?clientBuildNumber={1}&clientId={2}&dsid={3}&id={4}",
	get_active_reminders: "{0}/rd/startup?clientVersion=4.0&dsid={1}&id={2}&lang=en-us&usertz=US%2FPacific",
	get_completed_reminders: "{0}/rd/completed?clientVersion=4.0&dsid={1}&id={2}&lang=en-us&usertz=US%2FPacific",
	fmi: nil,
	fmi_init: "{0}/fmipservice/client/web/initClient?dsid={1}&id={2}",
	fmi_refresh: "{0}/fmipservice/client/web/refreshClient?dsid={1}&id={2}",
	get_calendar_events: "{0}/ca/events?clientBuildNumber={1}&clientID={2}&clientVersion=4.0&dsid={3}&endDate={4}&id={5}&lang=en-us&requestID=1&startDate={6}&usertz=US%2FPacific"
}
VERSION =
"0.0.2"