BARRAUX Arthur
2 years ago
6 changed files with 63 additions and 36 deletions
@ -0,0 +1,21 @@ |
|||||
|
|
||||
|
# Drive_sync |
||||
|
|
||||
|
Un outil de syncronisation de google photos avec un cloud Nextcloud |
||||
|
|
||||
|
|
||||
|
|
||||
|
## Install |
||||
|
|
||||
|
Pour installer les dépendances, executer: |
||||
|
```bash |
||||
|
pip3 install -r requirement.txt |
||||
|
``` |
||||
|
|
||||
|
## Config |
||||
|
|
||||
|
Tour d'abord, rendez vous dans le ficher ```nextcloud.json``` et entrez vos identifiant, l'url de votre cloud Nextcloud ainsi que le dossier de destination. |
||||
|
## Usage |
||||
|
|
||||
|
Maintenant, exécutez le fichier ```app.py``` et toutes vos photos seront télcharger dans le dossier choisi. |
||||
|
|
@ -0,0 +1 @@ |
|||||
|
{"web":{"client_id":"114734902818-ka0meq495cli7m1ogbs5fampf8s8kgbp.apps.googleusercontent.com","project_id":"drive-sync-1673116306810","auth_uri":"https://accounts.google.com/o/oauth2/auth","token_uri":"https://oauth2.googleapis.com/token","auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs","client_secret":"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","redirect_uris":["https://homelinuxserver.ddns.net"]}} |
@ -0,0 +1 @@ |
|||||
|
{"user": "YOUR USERNAME", "pass": "YOUR PASSWORD", "url": "YOUR NEXTCLOUD URL", "destination_folder": "PHOTO FOLDER"} |
@ -1 +1 @@ |
|||||
{"token": "ya29.a0AX9GBdU-N2vYtbrra2w9xyrYeDDwIeKkqo0xlISwSwmUpUCtP9bn40dEOEyYJow67UIqPocjkDHFqRINTPCBr28pwFBteTLccPLbp4ZPuVYEugcyO-wixxDy9q0Mp0zk60AFKOFRajos9U5iPmNGGyzCKaGwdpzsaCgYKAf4SAQASFQHUCsbCg9W0B-CJ6giNrNzKtABSIQ0167", "refresh_token": "1//0306exYla7apXCgYIARAAGAMSNwF-L9IrDTP2kdneYUP7CBpJ_oqtdWfvtIuuaCDaxySRfADycVywQjJ8C1jjrRCCo_1N16vlxdA", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "114734902818-12qkdhcljn2cjtlffmmag6ahq85ig6bb.apps.googleusercontent.com", "client_secret": "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", "scopes": ["https://www.googleapis.com/auth/photoslibrary"], "expiry": "2023-01-11T10:29:46.805328Z"} |
{"token": "ya29.a0AX9GBdWHDiya0nEeiRsU9GHU9P2c-9GKjwXXV5h_ypVGcq3Bw9ApjKBMpkK9cpDiSCsWjTiizVJkIhlJl5jiaDbA_UKX9mCthshF00mjmktyNieJWecDYMUSBb_gOg4Yf9K0ql9CjUsFNcOadi7JJKnLXtTUbNgfaCgYKAScSAQASFQHUCsbCa3hEnCWJdY9cXec-WeQ4lQ0167", "refresh_token": "1//0306exYla7apXCgYIARAAGAMSNwF-L9IrDTP2kdneYUP7CBpJ_oqtdWfvtIuuaCDaxySRfADycVywQjJ8C1jjrRCCo_1N16vlxdA", "token_uri": "https://oauth2.googleapis.com/token", "client_id": "114734902818-12qkdhcljn2cjtlffmmag6ahq85ig6bb.apps.googleusercontent.com", "client_secret": "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", "scopes": ["https://www.googleapis.com/auth/photoslibrary"], "expiry": "2023-01-11T12:34:33.635808Z"} |
Loading…
Reference in new issue