PHP code example of xmlsquad / ping-drive
1. Go to this page and download the library: Download xmlsquad/ping-drive library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
xmlsquad / ping-drive example snippets
bash
php <directoryName>/bin/ping-drive --help
bash
php vendor/bin/ping-drive --help
bash
php vendor/bin/ping-drive -v https://drive.google.com/drive/u/0/folders/0B5q9i2h-vGaCQXhLZFNLT2JyV0U
# Prints the folder content
bash
if [[ ping-drive -q ... ]]; then echo "Success!"; else echo "Fail"; fi