Instagram::API - Perl OO interface to Instagram without any authorization
version 0.01
use Instagram::API;
my $instagram = Instagram::API->new();
my $user = $instagram->getAccount($username);
my $user = $instagram->getAccountById($userID);
my $medias = $instagram->getMedias($username, $count, $maxID);
for my $media ( @{$medias} ) {
printf "Caption: %s\n", $media->{caption};
printf "Posted by %s at %s (%d likes)\n\n", $media->user->{username}, $media->{created_time}, $media->{likes};
}
The README is used to introduce the module and provide instructions on how to install the module, any machine dependencies it may have (for example C compilers and installed libraries) and any other information that should be provided before the module is installed.
A README file is required for CPAN modules since CPAN extracts the README file from a module distribution so that people browsing the archive can use it get an idea of the modules uses. It is usually a good idea to provide version information here so that people can decide whether fixes for the module are worth downloading.
To install this module type the following:
perl Makefile.PL
make
make test
make install
This module requires these other modules and libraries:
blah blah blah
Sergey Kovalev <info@neolite.ru>
Copyright (C) 2017 by Sergey Kovalev
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.