<?php
require_once '../../src/apiClient.php';
require_once '../../src/contrib/apiWebfontsService.php';

$client = new apiClient();
$client->setApplicationName("Google WebFonts PHP Starter Application");

// Visit https://code.google.com/apis/console?api=webfonts
// to generate your developer key.
// $client->setDeveloperKey('insert_your_developer_key');
$service = new apiWebfontsService($client);
$fonts = $service->webfonts->listWebfonts();
print "<h1>Fonts</h1><pre>" . print_r($fonts, true) . "</pre>";

Add a sample application for the webfonts API.
Add a sample application for the webfonts API.


git-svn-id: 6c6eb0d3cc6e8d5f6d3a0c71e6b3abc7e9845ff1@332 6c5fc399-1a2c-022f-82ce-feb0d0b4916c
