amazon_photos
amazon_photos copied to clipboard
Amazon Photos API
These three lines of code in `__init__` are very slow (at least for my data), and not always necessary. Would it be possible to make them optional? That would significantly...
I copied the sample code from the readme file, which connects the app to my Amazon Photo, then gets AP's status. ```python from amazon_photos import AmazonPhotos ap = AmazonPhotos( #...
facing issue while finding cookies Log in to Amazon Photos and copy the following cookies: 
Added logic for the US which uses "main" as it's country identifier in cookies.
Would you consider adding some native async methods like this? ``` async def aupload(self, files: list[Path | str] | Generator, chunk_size=64 * 1024) -> list[dict]: """ Upload files to Amazon...
The drive URL for Amazon UK is resolving to amazon.uk but it needs to be `amazon.co.uk`. I've added a method to resolve the drive URL along the lines of the...
Updated the md5sum function to fix the MemoryError exception when calculating the MD5 hash of very large files (such as videos).
Main cookies use a dash now, but still support old values.
Initialization fails with: ``` Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.12/site-packages/amazon_photos/_api.py", line 78, in __init__ self.folders = self.get_folders() ^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/amazon_photos/_api.py", line 973, in get_folders...
Curious, if there is a reason this requires python 3.10+? https://github.com/trevorhobenshield/amazon_photos/blob/main/setup.py#L32 Would love to be able to install and use this on python 3.9 which is my default python version...