rezzza/flickr-bundle

Flickr api wrapper

Installs: 3 380

Dependents: 0

Suggesters: 1

Security: 0

Stars: 5

Watchers: 5

Forks: 3

Open Issues: 0

Type:symfony-bundle

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

This package is not auto-updated.

Last update: 2022-06-25 02:57:03 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 ...