Code Monkey home page Code Monkey logo

gphotocli's Introduction

gphoto-cli

A command-line interface for Google Photos to do a variety of tasks

gphotocli's People

Contributors

breeze-094 avatar jordanmendler avatar

Watchers

 avatar

gphotocli's Issues

Guidance on how to solve applying filter under a specified album

According to google API documentation mediaItems.search Method, album and filter function cannot be applied at the same time. Here is the link of the documentation:
https://developers.google.com/photos/library/reference/rest/v1/mediaItems/search

I searched through Google Api documentations pages and was not able to find any other provided method can do this task. If you know please let me know.

To solve this, I read through an article and it mentions that, to list the contents of an album, get the album contents id, and then apply a filter e.g Selfie and get the list of photo ids from user's library, and then check if those selfie photos are in the give album by comparing ids. Is this a good idea to go or it sounds too complicated ?

Any advise?

FYI. I realize the filter function is not that accurate. if I apply exclude photos contain me and people, and it still give me a few photos contain me people from my library.

Traceback

Hi Jordan,
I configured my google photo api at API console and the application type is web application.
pretty much followed this link to setup and post the screenshots in the repo too.
https://developers.google.com/photos/library/guides/get-started#request-id
http://localhost:8888 is my local host in Jupyter Notebook
And I downloaded the client_secret.json file and kind of figure out this beginning script which are saved both at "gphoto-api-start.ipynb" and "gphoto-api-start.py"
Somehow I got this trace back below and could not figure out why it is happening :(

Do you mind give me some clue on how to solve this?

usage: ipykernel_launcher.py [--auth_host_name AUTH_HOST_NAME]
[--noauth_local_webserver]
[--auth_host_port [AUTH_HOST_PORT [AUTH_HOST_PORT ...]]]
[--logging_level {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
ipykernel_launcher.py: error: unrecognized arguments: -f C:\Users\BREEZE'S NOTEBOOK\AppData\Roaming\jupyter\runtime\kernel-526b7ffa-00ce-4002-8c52-7023e19ed76a.json
An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.