rezzza/flickr-bundle

Flickr api wrapper

Installs: 3 395

Dependents: 0

Suggesters: 1

Security: 0

Stars: 4

Watchers: 5

Forks: 2

Open Issues: 0

Type:symfony-bundle

v1.0.1 2015-12-18 08:51 UTC

This package is not auto-updated.

Last update: 2024-10-26 13:41:46 UTC


README

A simple wrapper for flickr api.

rezzza_flickr:
    key: 'my api key'
    secret: 'my api secret'

# or

rezzza_flickr:
    default_client: default
    clients:
        default:
            key: 'my api key'
            secret: 'my api secret'
        second:
            key: 'my second api key'
            secret: 'my second api secret'

All services from flickr are currently called with oauth security, by this way, at this moment, you can't use this bundle without oauth authentication.

$client = $this->get('rezzza_flickr.client');
$client->getMetadata()->setOauthAccess('access token', 'access token secret');
// then use it ...