Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Zander
    @zanderxyz
    @Foxi352 Thanks for the quick reply. Do you have a link to the PHP? If it works then there must be a way to get Python working too.
    Serge Wagener
    @Foxi352
    @zanderxyz I use it in this project:https://github.com/Martin-Gleiss/smartvisu/blob/master/lib/calendar/service/iCloud.php but as i said it is read-only and just used to get the calendar.
    Zander
    @zanderxyz
    Thanks, will take a look
    Bart274
    @Bart274
    @Foxi352 doesn't app specific passwords work in HA?
    Serge Wagener
    @Foxi352
    @Bart274 What do you mean by HA ? Pyicloud did not accept them, it only worked with main password using 2-factor for me...
    Bart274
    @Bart274
    @Foxi352 thought you meant HomeAssistant when you mentioned HA
    Serge Wagener
    @Foxi352
    @Bart274 HomeAutomation :-) i use smarthome.py
    Bart274
    @Bart274
    I see 😊 I use homeassistant myself 😊
    Adam Coddington
    @coddingtonbear
    I use homeassistant, too, actually
    Bart274
    @Bart274
    @coddingtonbear do you use the icloud tracker?
    Adam Coddington
    @coddingtonbear
    I'm afraid not :-/
    I did notice that they do use pyicloud for that, though, which was cool to see!
    Bart274
    @Bart274
    Man, the default tracker sucks, I made a custom version with dynamic intervals etc, works really well 😊
    I'll add you to my chat room about it tomorrow 😊
    Adam Coddington
    @coddingtonbear
    neat; you should post a PR for updating their default tracker
    the number of modules I see in there makes me bet that they're pretty great about handling PRs
    Bart274
    @Bart274
    Yeah I really need to get it done 😊
    Lee
    @luosiding123
    Hi,do you know how to get backup files in iCloud?Some softwares can get all backup files from iCloud,i think there must have a url @coddingtonbear
    Adam Coddington
    @coddingtonbear
    I'm afraid I have no idea
    Lee
    @luosiding123
    @coddingtonbear oh,thanks :-/ :-/
    Francisco Aguilera
    @Falven
    Hello, does pyicloud still perform correct 2fa? I cannot get the service to send me a verification to save my life...
    max1404
    @max1404
    Hi, when i use the command "icloud --list" nothing comes back. Only "CTRL+C" brings the prompt back. Solution? (Debian 8.6)
    with "icloud --username=username@domain.com" the same. :-1:
    Elvis Pfützenreuter
    @elvis-epx
    Question: is there a way to dowload edited photos? I can get the originals, but not the edited versions
    itadder
    @itadder
    hello
    I am getting this exception
    HTTPSConnectionPool(host='p32-photosws.icloud.com', port=443): Max retries exceeded with url:
    does anyone know how long it is
    any idea
    itadder
    @itadder
    anyone around
    itadder
    @itadder
    Hi
    itadder
    @itadder
    hey
    itadder
    @itadder
    heya
    anyone around
    鹏博
    @Mocha-L
    @itadder I have the same exception , Do u know why?
    Luke Quinane
    @tmyroadctfig
    does anyone know why the post to the changeset url is needed here? https://github.com/picklepete/pyicloud/blob/master/pyicloud/services/contacts.py#L41
    Adam Coddington
    @coddingtonbear
    I'm not directly aware, no, but it may help you to know that the PR adding that feature was added by @joachimneu. I don't have contact information for him, but you might be able to google his name to find a way of raeching out, tmyroadctfig.
    pyshamsher
    @pyshamsher
    photo = next(iter(api.photos.albums['Screenshots']), None)
    download = photo.download()
    with open(photo.filename, 'wb') as opened_file:
    opened_file.write(download.raw.read())
    Hi When I try to download the photos using the above code nothing gets downloaded, what would be missing ?
    Tsilavina Razafinirina
    @letsila
    Hi guys, I guess there is still no workaround about 2fa right now. So I am wondering if anyone have heard of carddav server and how it can be used to pull iOs contacts?
    Prosammer
    @Prosammer

    Hello! I’ve had to modify the 2SA authentication example in the readme because I’m creating an Alfred 3 workflow, so the first script looks like this:

    ‘’'

    import sys, os, time
    from workflow import Workflow3, ICON_WARNING, Variables

    log = None
    device = sys.argv[0]

    def main(wf):
    from pyicloud import PyiCloudService
    login_info = None
    for line in open("apidata.txt", "r").readlines():
    login_info = line.split()

    api = PyiCloudService(login_info[0], login_info[1])
    api.send_verification_code(device)

    if name == "main":
    wf = Workflow3()
    log = wf.logger
    sys.exit(wf.run(main))

    ‘''

    So that first script seems to work fine and send the verification code to whichever device the user has selected.
    The problem is, in the second script, once the user has input their verification code, api.validate_verification_code(device, code) sends ANOTHER iCloud popup!

    ‘’'

    import sys, os
    from workflow import Workflow3, ICON_WEB, ICON_WARNING

    auth_code = sys.argv[0]

    def main(wf):
    from pyicloud import PyiCloudService

    login_info = None
    for line in open("apidata.txt", "r").readlines():
        login_info = line.split()
    
    api = PyiCloudService(login_info[0], login_info[1])
    if not api.validate_verification_code(auth_code):
        wf.add_item(title="Failed to verify!",
        subtitle='Please try again', valid="No", icon=ICON_WARNING)
        wf.send_feedback()
    else:
        wf.add_item(title="Verified!",
        subtitle='Use keyword "overhere" to find your lost device', valid="No")
        wf.send_feedback()

    if name == 'main':
    wf = Workflow3()
    log = wf.logger
    wf.run(main)

    ‘’'

    Alfred-workflow uses python 2.7, so I’m not sure if that’s the issue, or is it something to do with calling pyicloud from a different python program? I’m new to Python so sorry if this is a stupid question!

    arghhh sorry about the formatting! I could put it on pastebin if that helps
    subin-jm
    @subin-jm
    Hi, I am looking to access user's iCloud storage using their ID and password, from the document only listing and download option is shown. Can we do other functionalities like upload, delete, create a folder etc using this? and also will the 2sa be asked again once we do that once for a user?
    Markus Hartmann
    @aidun
    Hi I love your library and I really enjoyed to create my little photo backup with it. All worked fine but one shared folder - our family album - didn't show up. I like to help to implement this feature and want to know if you can provide an API documentation of the iCloud fotos api, so I can try to provide a pr.
    harirock4499
    @harirock4499
    Hey guy's how to create an event in the apple calendar with pyicloud python package
    Jörg Menke
    @menkej
    Hi all! I recently inherited maintainership for icloudpd (icloud_photos_downloader). That project currently uses a fork of pyicloud with some additional features added to the photos api. Is this project still active? Then I'd like to integrate the features we added into the main project, so that the fork is no longer needed.
    Adam Coddington
    @coddingtonbear
    Hi there, @menkej -- I think I have pypi/github maintainership, so I can help you get things merged upstream for sure. Unfortunately, though, I don't really use the project anymore, and most recently, it looks like https://github.com/Quentame has been handling maintainership
    elteal
    @elteal
    I'm trying to connect to Notes I have saved on my phone/iCloud. However it's showing that it is empty. Anyone have suggestions?
    image.png