Need to run an API from a script and extract fields from output of API
Hi,
I need to call an API (GetUsageDetails)from inside a shell script which takes an input argument acct_nbr.
The output of API will be like :
and I need to fetch the marked fields from the output. Can anyone help me how to acheive this in shell scripting...I have no idea of how to run an API from a shell script
Hi,
I've just been experimenting with AIX's ldapsearch utility - I've been successfully using it to retrieve information from an Active Directory, however, I need to make similar calls from a C program.
Is there a suitable LDAP API on AIX which will give me similar capabilties to the... (3 Replies)
Hi:
Well, i need to do a program for control the labs time of the students in my university. This program that I have to do it got to be on C++ or C, and have to do a several things like, check all the process that the user execute when he star his session on KDE or console, sometime close an no... (0 Replies)
Hi all,
I would like to know if an API for compress (.Z) exists in C ?
I want to write a program which process a large number of data files with efficient compression at the end.
Thanks
http://fedora.unix.com/images/misc/progress.gif (4 Replies)
All,
Have a weird issue where i need to generate a report from GitHub monthly detailing user accounts and the last time they logged in. I'm using a windows box to do this (work issued) and would like to know if anyone has any experience scripting for GitAPI using windows / cygwin / powershell?... (9 Replies)
Hello everyone,
I have some files on my server, that I would to backup by uploading them into archive.org, is there any API or shell script that can help me with that?
Thanks in advance (11 Replies)
Flickr::API(3pm) User Contributed Perl Documentation Flickr::API(3pm)NAME
Flickr::API - Perl interface to the Flickr API
SYNOPSIS
use Flickr::API;
my $api = new Flickr::API({'key' => 'your_api_key',
'secret' => 'your_app_secret'});
my $response = $api->execute_method('flickr.test.echo', {
'foo' => 'bar',
'baz' => 'quux',
});
or
use Flickr::API;
use Flickr::API::Request;
my $api = new Flickr::API({'key' => 'your_api_key'});
my $request = new Flickr::API::Request({
'method' => 'flickr.test.echo',
'args' => {},
});
my $response = $api->execute_request($request);
DESCRIPTION
A simple interface for using the Flickr API.
"Flickr::API" is a subclass of LWP::UserAgent, so all of the various proxy, request limits, caching, etc are available.
METHODS
"execute_method($method, $args)"
Constructs a "Flickr::API::Request" object and executes it, returning a "Flickr::API::Response" object.
"execute_request($request)"
Executes a "Flickr::API::Request" object, returning a "Flickr::API::Response" object. Calls are signed if a secret was specified when
creating the "Flickr::API" object.
"request_auth_url($perms,$frob)"
Returns a "URI" object representing the URL that an application must redirect a user to for approving an authentication token.
For web-based applications $frob is an optional parameter.
Returns undef if a secret was not specified when creating the "Flickr::API" object.
AUTHOR
Copyright (C) 2004-2005, Cal Henderson, <cal@iamcal.com>
Auth API patches provided by Aaron Straup Cope
SEE ALSO
Flickr::API::Request, Flickr::API::Response, XML::Parser::Lite, <http://www.flickr.com/>, <http://www.flickr.com/services/api/>
perl v5.14.2 2014-07-04 Flickr::API(3pm)