Skip to content

Instantly share code, notes, and snippets.

@rilinweb
rilinweb / example.html
Created April 22, 2015 20:47
Get Google Spreadsheet Data
<?php
$spreadsheetID = '1pO7BBOkhWL2TcBPYkDTlWZ0Gbw4mAUSadK_8NOn0Ij8';
$urlPath = 'http://spreadsheets.google.com/feeds/list/' . $spreadsheetID . '/od6/public/values?alt=json';
$file = file_get_contents($urlPath);
$json = json_decode($file);
$rows = $json->{'feed'}->{'entry'};
?>
<!DOCTYPE html>
<html lang="en">
<head>
@rilinweb
rilinweb / contacts.csv
Created April 17, 2015 19:21
Sending SMS from Linux using sms.ru
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
71231234567 First Person
71231234568 Second Person
71231234569 Third Person