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
Requires
- php: ^5.6|^7.0
Requires (Dev)
- guzzlehttp/guzzle: ~6.0
- phpunit/phpunit: ~5.0
Suggests
- guzzlehttp/guzzle: Guzzle Adapter for http requests
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');