rezzza / flickr
Flickr API Wrapper
Installs: 34 496
Dependents: 4
Suggesters: 0
Security: 0
Stars: 27
Watchers: 6
Forks: 16
Open Issues: 3
Type:standalone
Requires
- php: >=5.3.2
Requires (Dev)
- guzzle/http: 3.*
- phpunit/phpunit: 3.7.32
Suggests
- guzzle/guzzle: HTTP wrapper
- guzzle/http: Guzzle Adapter for http requests
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');