Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/VladimirKalachikhin/GooglePhotosURLs

create list of Google Photos from the Google Photo's album url
https://github.com/VladimirKalachikhin/GooglePhotosURLs

album album-url cli photo photos

Last synced: 18 days ago
JSON representation

create list of Google Photos from the Google Photo's album url

Awesome Lists containing this project

README

        

# GooglePhotosURLs [![License: CC BY-SA 4.0](https://img.shields.io/badge/License-CC%20BY--SA%204.0-lightgrey.svg)](https://creativecommons.org/licenses/by-sa/4.0/)
A PHP function and cli tool to takes the permanent url and create list of GooglePhotos from the GooglePhotos public album url.
And PHP function and cli tool to create embedding code with permanent url for one GooglePhoto.
## v.2.0
Following the changes in the hinducode structure
## Features
* Original, preview or any size of images (by GooglePhoto engine)
* Original filename
* URL only or csv-style `"original_file_name","permanent_url"` output for album
* `` embedding code or url only output for one GooglePhoto

## Example
See `index.php`

## Usage cli
`$ ./GooglePhotoURLcli.php --help`
### One GooglePhoto
Embedding code with GooglePhoto preview-size image and with link to original size:
`$ ./GooglePhotoURLcli.php https://https://photos.app.goo.gl/YouGooglePhotoSharedLinkNumber`

Embedding code with preview 100x60 size image and with link to original size:
`$ ./GooglePhotoURLcli.php https://https://photos.app.goo.gl/YouGooglePhotoSharedLinkNumber 100 60`

URL of original size image:
`$ ./GooglePhotoURLcli.php -m https://https://photos.app.goo.gl/YouGooglePhotoSharedLinkNumber `

URL of 800x600 size image:
`$ ./GooglePhotoURLcli.php https://https://photos.app.goo.gl/YouGooglePhotoSharedLinkNumber 800 600 1`

Original file name and url of original size image:
`$ ./GooglePhotoURLcli.php -m=csv https://https://photos.app.goo.gl/YouGooglePhotoSharedLinkNumber `

### GoogleAlbum:
List of embedding codes of all album images with GooglePhoto preview-size image and with link to original size:
`$ php GooglePhotosURLscli.php https://https://photos.app.goo.gl/YouGooglePhotoAlbumSharedLinkNumber`

List of embedding codes of all album images with GooglePhoto preview-size image and with **link to 800x600 size**:
`$ php GooglePhotosURLscli.php https://https://photos.app.goo.gl/YouGooglePhotoAlbumSharedLinkNumber 800 600`

List of original file names and urls of original size images:
`$ php GooglePhotosURLscli.php -m=csv https://https://photos.app.goo.gl/YouGooglePhotoAlbumSharedLinkNumber`

List of original file names and **urls of 800x600 size images**:
`$ php GooglePhotosURLscli.php https://https://photos.app.goo.gl/YouGooglePhotoAlbumSharedLinkNumber 800 600 csv`

## Restrictions
The image url must be on a separate string in source of album’s or one image web page. Now it is.

## To create a public GooglePhotos url:
- GoTo you GooglePhotos album or click to the GooglePhoto
- Click the **Share** icon
- Click **Get link**