nobuhiko/flickr

Flickr API Wrapper

Fund package maintenance!
nobuhiko

Installs: 245

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:standalone

1.0.1 2024-02-21 11:27 UTC

This package is auto-updated.

Last update: 2024-12-21 13:26:21 UTC


README

$metadata = new Rezzza\Flickr\Metadata('api key', 'secret');
$metadata->setOauthAccess('access token', 'access token secret');

$factory  = new Rezzza\Flickr\ApiFactory($metadata, new Rezzza\Flickr\Http\GuzzleAdapter());

$xml = $factory->call('flickr.test.login');
$xml = $factory->call('flickr.photos.getInfo', array(
    'photo_id' => 1337,
));

$factory->upload('path/to/photo.png', 'my title');