Nostalgic Perogi Monogramming
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

upload-gphotos

2.0.8 • Public • Published

upload-gphotos

NPM

NPM VERSION GITHUB RELEASE LICENSE Greenkeeper badge

Google Photos にファイルをアップロード.

Upload photo to Google Photos (Unofficial).

Preparation

USE AT YOUR OWN RISK

  1. Turn on "Allowing less secure apps to access your account"

Installation

npm (Recommended)

$ npm install -g upload-gphotos

Executable file

Download your platform's binary via GitHub Releases.

Usage

$ upload-gphotos file [...] -u USERNAME -p PASSWORD

Library

This is also Node.js library.

(async () => {
  const gphotos = new GPhotos({ username: '', password: '' });
  await gphotos.login();
 
  const photo = await gphotos.upload(filePath);
  const album = await gphotos.searchOrCreateAlbum('TestAlbum');
  await album.addPhoto(photo);
})();

See Documentation.

install

npm i upload-gphotos

Downloadsweekly downloads

13

version

2.0.8

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar