Skip to content

malipramod/google-photos-migration-node_module

Repository files navigation

Google Photos Migration

Migrates Google Photos from one Google account to another.

How to install

Install Google Photos Migration Node Module by following command: npm i google-photos-migration

Features

Get Album

Gets all 20 albums per function call.

  • authToken: Authorization token.

  • nextPageToken: A continuation token to get the next page of the results. Adding this to the request returns the rows after the pageToken. The pageToken should be the value returned in the nextPageToken parameter in the response to the listAlbums request.

For More information please look into: demo/library-demo.js

    var googlePhotos = require('google-photos-migration');
    googlePhotos.getAlbums(authToken,nextPageToken);

Create Album

Creates Album in Google Photos Library.

  • albumName: Name of the album

  • authToken: Authorization token.

For More information please look into: demo/library-demo.js

    var googlePhotos = require('google-photos-migration');
    googlePhotos.createAlbum(albumName, authToken);

Get all items from Album

Get all items from an album.

    var googlePhotos = require('google-photos-migration');
    googlePhotos.getAllItemsFromAlbum(albumData, authToken, nextPageToken);

For More information please look into: demo/library-demo.js

Migrate media

Migrates an album from one Google Photos account to another.

    var googlePhotos = require('google-photos-migration');
    googlePhotos.migrateAlbum(srcAuthToken, destAuthToken, albumData);

For More information please look into: demo/migrate-demo.js

API code for Migration is avaialble at:

NodeJS: https://github.com/malipramod/google-photos-migration-api-nodejs

C#: https://github.com/malipramod/google-photos-migration-api-csharp

NPM package: https://www.npmjs.com/package/google-photos-migration

About

Google Photos Migration Module

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published