Login   Register  
PHP Classes
elePHPant
Icontem

File: example1.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Piotr Malinski  >  Flickr API Parser  >  example1.php  >  Download  
File: example1.php
Role: Example script
Content type: text/plain
Description: Example 1
Class: Flickr API Parser
Query information about photos stored Flickr site
Author: By
Last change:
Date: 8 years ago
Size: 226 bytes
 

Contents

Class file image Download
<pre><?PHP
include 'flickr.php';
$a = new flickr('YOUR API KEY');
echo 
'SEARCH:<BR>';
print_r($a->search('gentoo'));

echo 
'getRecent:<BR>';
print_r($a->getRecent(10));

echo 
'getInfo:<BR>';
print_r($a->getInfo(142796681));
?>