2017 © Pedro Peláez
 

library googlephotos

image

robert-mill/googlephotos

  • Monday, October 2, 2017
  • by Mill
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

googlephotos

This is a working application but will also be continuously worked on I created this as a class because I want to add other functionality later., (*1)

simple class to get google photos from a google drive folder, (*2)

install by composer, (*3)

composer require robert-mill/googlephotos:dev-master, (*4)

  1. in google drive navigate to the folder containing the photos/images to be displayed.
  2. open folder and copy the url from the top of the browser
  3. the url can be saved into a databse and called any way you wish or pasted directly into a new instance of the class, (*5)

    require_once './robert-mill/classes/GooglePhotos.php';, (*6)

    $albumid = '0B3WE-Ir69w7CQnlHREp4TFJmWk0';
    $googlepicsClass = new robertmill\classes\GooglePhotos($albumid);
    
    $data = $googlepicsClass->buildAlbum();
    echo $data;
  4. Style the iframe to fit, (*7)

The Versions

02/10 2017

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=5.3.0