Migrates Google Photos from one Google account to another.
Install Google Photos Migration Node Module by following command: npm i google-photos-migration
- Get Albums Google Photos Account
- Create Album in Google Photos Account
- Get all media items from an Album in Google Photos Account
- Migrate Album from one Google Photos account to another
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);
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 an album.
var googlePhotos = require('google-photos-migration');
googlePhotos.getAllItemsFromAlbum(albumData, authToken, nextPageToken);
For More information please look into: demo/library-demo.js
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