tmyroadctfig / icloud4j Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
I'm guessing no because I don't see any mention of it in the tests, but I'd like to be able to access notes. :)
Thanks
Hello,
first of all "Nice Work!" :D
i want to include this library into one of my projects which is based on maven.
Is there any release of this lib or do ich have build and include it my own?
It would be cool to have this mavenized and available via e.g. maven-central.
Best,
Neo
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?
Hi @tmyroadctfig ,
Please help me out, I am start working on project that require the access contact groups from icloud. so how can I access the contact groups from icloud use by this lib?.
When the stored objet is a package (eg a Capture one package), the result does not contain a data_token object but a package object (package_token), which also contains a URL.
Map<String, Object> dataTokenMap = (Map<String, Object>) result.get("data_token");
String contentUrl = (String) dataTokenMap.get("url");
In this case it seems that the package file needs to get downloaded differently.
HttpGet contentRequest = new HttpGet(contentUrl);
try (InputStream inputStream = iCloudService.getHttpClient().execute(contentRequest).getEntity().getContent())
// E.g. "v=2:t=AQAAAABXzO24CYflBW2JwysxyUEL9KxRNoEX1Qk~"
Map<String, String> authMap = Splitter.on(":").omitEmptyStrings().trimResults().withKeyValueSeparator("=").split(rawDownloadUrlToken);
downloadUrlToken = authMap.get("t");
When connecting I receive a URL then that is formatted as following which obviously breaks the withKeyValueSeparator method.
// E.g. "v=2:t=AQA==AAABXzO24CYflBW2JwysxyUEL9KxRNoEX1Qk~"
Hi @tmyroadctfig ,
Please clarify to me, What is client id and how can I get it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.