tmyroadctfig / icloud4j

Other
21 stars 18 forks source link

What is a client-id? #14

Open dterefe opened 3 months ago

dterefe commented 3 months ago

Hello, i know this is probably trivial, but I do not find any reference to a "client-id" connected to my current iCloud account. Do i require a developer account to use this API and that is how I get access to a client-id? Furthermore, when using the Python API for iCloud on which this API is based on, I don't need a client-id and can just use my normal login data to sign into iCloud.

Can someone explain what the client-id is and where I can get it to use this API?

tmyroadctfig commented 2 months ago

I think you can put anything for the client-id, e.g. here's how pycloud is generating theirs: https://github.com/picklepete/pyicloud/blob/332cc9fa767862480c27253233c2cfdf9f2ea0d9/pyicloud/base.py#L222

You don't need a developer account, these API calls are the same ones your phone would be making to access the iCloud services.