[libflickr-api-perl] 20/40: Updated Flickr API urls from http://www.flickr.com/services/ to http://api.flickr.com/services/, as instructed in http://www.flickr.com/services/api/misc.overview.html
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Sat Jul 25 21:12:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to tag 1.08
in repository libflickr-api-perl.
commit b20487a2b937313fb64a84c00fae0f7974f70b99
Author: Oskari Okko Ojala <okko at frantic.com>
Date: Wed Sep 12 11:49:57 2012 +0000
Updated Flickr API urls from http://www.flickr.com/services/ to http://api.flickr.com/services/, as instructed in http://www.flickr.com/services/api/misc.overview.html
---
lib/Flickr/API.pm | 4 ++--
lib/Flickr/API/Request.pm | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/Flickr/API.pm b/lib/Flickr/API.pm
index 8acd97c..04f3063 100644
--- a/lib/Flickr/API.pm
+++ b/lib/Flickr/API.pm
@@ -18,8 +18,8 @@ sub new {
my $self = new LWP::UserAgent;
$self->{api_key} = $options->{key};
$self->{api_secret} = $options->{secret};
- $self->{rest_uri} = $options->{rest_uri} || 'http://www.flickr.com/services/rest/';
- $self->{auth_uri} = $options->{auth_uri} || 'http://www.flickr.com/services/auth/';
+ $self->{rest_uri} = $options->{rest_uri} || 'http://api.flickr.com/services/rest/';
+ $self->{auth_uri} = $options->{auth_uri} || 'http://api.flickr.com/services/auth/';
eval {
require Compress::Zlib;
diff --git a/lib/Flickr/API/Request.pm b/lib/Flickr/API/Request.pm
index dbbacbf..e8f3236 100644
--- a/lib/Flickr/API/Request.pm
+++ b/lib/Flickr/API/Request.pm
@@ -14,7 +14,7 @@ sub new {
my $self = new HTTP::Request;
$self->{api_method} = $options->{method};
$self->{api_args} = $options->{args};
- $self->{rest_uri} = $options->{rest_uri} || 'http://www.flickr.com/services/rest/';
+ $self->{rest_uri} = $options->{rest_uri} || 'http://api.flickr.com/services/rest/';
bless $self, $class;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libflickr-api-perl.git
More information about the Pkg-perl-cvs-commits
mailing list