Quick and Dirty "Show me the latest 5 photos in my stream" script

Posted by Doomshammer on Tuesday, October 14. 2008 at 15:01 in Anwendungen, English only, Photography, Privat, Thoughts
Here is a brief example of how to quickly fetch the latest 5 photos in you photostream and put them into a quick and dirty HTML output. It is written in Perl and uses my Ipernity::API module

View it as plain text
QUOTE:
#!/usr/bin/perl -w

use strict;
use warnings;
use Ipernity::API;

my $api = Ipernity::API->new(
'args' => {
'api_key' => '0123456123451234651235123452345234',
'outputformat' => 'xml',
},
);
my $result = $api->execute_xml(
'method' => 'doc.search',
'share' => 4,
'per_page' => 5,
'media' => 'photo',
'user_id' => '',
);

foreach my $doc (@{$result->{docs}->{doc}}) {
print '' .
'' . $doc->{title} .<br />
'

\n";
}

Ipernity's public API has been released

Posted by Doomshammer on Tuesday, October 14. 2008 at 13:25 in Anwendungen, English only, Photography, Privat, Web
Wow, it has been quite a bit since I wrote s. th. here in my blog, but I was either busy with my work or just to lazy to write something. But today I decided to put an update... 'cause my favourite Photo Sharing Community has opened it's doors to external applications by releasing their public API. It's still beta and some features are missing, but though it's there and can be given a test drive.

I took the chance and developed a Perl module for the API. With this module you can easily access the API and process the data of your Ipernity account within your perl scripts. Some features might be not there yet or need to be tweaked a bit, but basic functionallity is given. You can download it here (I am still waiting for my CPAN account).

To install, simply download and extract the package, then run: "perl Makefile.PL && make && make test && make install". That's it!

Let me know what you think about it!

Pixlr goes Multiplatform

Posted by Doomshammer on Monday, June 25. 2007 at 14:58 in Anwendungen, Computer, English only, Flickr, Photography, Privat, Web

Yay! Another big step into "Pixlr goes Multiplatform" has been done. I just finished my first tests with the Ipernity API and I was already able to authenticate Pixlr with my Ipernity account.

Pixlr goes Ipernity

The Ipernity API isn't that big yet, and most of the methods I need for Pixlr, aren't avail. yet - but according to the Iperntiy-Team, it will be expanded soon!

The biggest step for Pixlr to be usable for many different platform has been finished by me yesterday. I completelly wrote my own interface to the Flickr API. This means that Pixlr doesn't depend on the 3rd party module Flickr::API anymore but uses Pixlr::API::Flickr now. But that's not the big news... instead of calling Pixlr::API::Flickr, it now calls Pixlr::API( 'service' => 'flickr' ); this makes Pixlr easily extendable to other platforms (like Iperntiy or Zooomr). I also just finished the first beta of Pixlr::API::Ipernity and did some tests - which all worked fine. I'm curisous to test out all the other functions/methos with Ipernity - looking forward to it :-)

On this way, a big thanks to Christophe from the Ipernity-Team for being so kind to offer me an API key for Pixlr :-)

Calendar

Back June '13
Mon Tue Wed Thu Fri Sat Sun
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Quicksearch

Not for Sale!

This blog is not for sale!

Latest twitter

Latest Photos

ERROR: The HTTP server returned the error or the warning(result:403).

Getaggte Artikel

Buttons

Ich bin ein Dokuleser
Get OpenSolaris
Gimme a Smile
neessen.net - Webhosting
I'm a blogger!
Lebst Du noch oder oarks Du schon?
last.fm
trnd - be trendy
I hear Metal
Visit GeoURL
Powered by Linux
Zsh lover
VIM! The Editor
Get Firefox
Ihr, nicht ich!
My amazon wishlist

BLOGROLL