rezzza/flickr

This package is abandoned and no longer maintained. No replacement package was suggested.

Flickr API Wrapper

Installs: 31 427

Dependents: 4

Suggesters: 0

Security: 0

Stars: 27

Watchers: 6

Forks: 16

Open Issues: 3

Type:standalone

v1.1.0 2014-02-26 09:18 UTC

This package is not auto-updated.

Last update: 2020-01-19 15:35:49 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');