Main > Free Download Search >

Free api software for linux

api

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1695
WebService::Geograph::API 0.04

WebService::Geograph::API 0.04


WebService::Geograph::API is a Perl interface to the Geograph.co.uk API. more>>
WebService::Geograph::API is a Perl interface to the Geograph.co.uk API.

SYNOPSIS

use WebService::Geograph::API;

my $api = new WebService::Geograph::API ( { key => your_api_key_here} ) ;

my $rv = $api->lookup ( csv, { i => 12345,
ll => 1,
thumb => 1,
}) ;

my $data = $rd->{results} ;

This module provides a simple interface to using the geograph.co.uk API service.

The actual core class, WebService::Geograph::API is a subclass of LWP::UserAgent so all the usual parameters apply.

<<less
Download (0.013MB)
Added: 2007-04-02 License: Perl Artistic License Price:
935 downloads
eBay::API 0.22

eBay::API 0.22


eBay::API is a Perl SDK for eBay Web services Interface. more>>
eBay::API is a Perl SDK for eBay Web services Interface.

SYNOPSIS

# 1. GeteBayOfficialTime use eBay::API::XML::Call::GeteBayOfficialTime;
my $pCall = eBay::API::XML::Call::GeteBayOfficialTime->new();
$pCall->execute();
my $sOfficialTime = $pCall->getEBayOfficialTime();
# 2. GetUser use eBay::API::XML::Call::GetUser; use eBay::API::XML::DataType::Enum::DetailLevelCodeType;
my $pCall = eBay::API::XML::Call::GetUser->new();
$pCall->setDetailLevel( [eBay::API::XML::DataType::Enum::DetailLevelCodeType::ReturnAll] );
$pCall->setUserID(userId);
$pCall->execute();

my $pUser = $pCall->getUser();
my $sStatusCode = $pUser->getStatus();
my $sSiteCode = $pUser->getSite();
# 3. VerifyAddItem use eBay::API::XML::Call::VerifyAddItem; use eBay::API::XML::DataType::ItemType; use eBay::API::XML::DataType::CategoryType; use eBay::API::XML::DataType::Enum::CountryCodeType; use eBay::API::XML::DataType::Enum::CurrencyCodeType; use eBay::API::XML::DataType::Enum::ListingTypeCodeType; use eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType;
my $pItem = eBay::API::XML::DataType::ItemType->new();
$pItem->setCountry(eBay::API::XML::DataType::Enum::CountryCodeType::US);
$pItem->setCurrency(eBay::API::XML::DataType::Enum::CurrencyCodeType::USD);
$pItem->setDescription(item description.);
$pItem->setListingDuration(eBay::API::XML::DataType::Enum::ListingTypeCodeType::Days_1);
$pItem->setLocation(San Jose, CA);
$pItem->setPaymentMethods(eBay::API::XML::DataType::Enum::BuyerPaymentMethodCodeType::PaymentSeeDescription);
$pItem->setQuantity(1);
$pItem->getStartPrice()->setValue(1.0);
$pItem->setTitle(item title);

my $pCat = eBay::API::XML::DataType::CategoryType->new();
$pCat->setCategoryID(357);
$pItem->setPrimaryCategory($pCat);

my $pCall = eBay::API::XML::Call::VerifyAddItem->new();

$pCall->setItem($pItem);
$pCall->execute();

$sItemId = $pCall->getItemID()->getValue();

<<less
Download (0.097MB)
Added: 2007-05-25 License: Perl Artistic License Price:
883 downloads
Gtk2::api 1.145

Gtk2::api 1.145


Gtk2::api is a mapping the Gtk+ C API to perl. more>>
Gtk2::api is a mapping the Gtk+ C API to perl.

ABSTRACT
The Gtk2 module attempts to stick as close as is reasonable to the C API, to minimize the need to maintain documentation which is nearly a copy of the C API reference documentation. However, the world is not perfect, and the mappings between C and perl are not as clean and predictable as you might wish. Thus, this page described the basics of how to map the C API to the perl API, and lists various points in the API which follow neither the C API documentation nor the mapping principles.

The canonical documentation is the C API reference at http://developer.gnome.org/doc/API/gtk/ and http://developer.gnome.org/doc/API/gdk/
There are two main sections: BINDING BASICS describes the principles on which the bindings work; understanding these can lead you to guess the proper syntax to use for any given function described in the C API reference.

The second section lists various specific points of difference which dont necessarily correspond with what you expect; this section is in three main parts: missing methods, renamed methods, and different call signatures.

<<less
Download (0.64MB)
Added: 2007-07-16 License: Perl Artistic License Price:
832 downloads
Clickatell SMS API 1.5

Clickatell SMS API 1.5


Clickatell SMS API provides a tool for sending SMS messages using the Clickatell gateway. more>>
Clickatell SMS API provides a tool for sending SMS messages using the Clickatell gateway.
It provides support to authenticate to this service and query for the current account balance.
This class use the fopen or CURL module to communicate with the gateway via HTTP/S.
Enhancements:
- Fixed bug in function encode_message (tnx Neil)
<<less
Download (0.033MB)
Added: 2007-02-15 License: BSD License Price:
996 downloads
Business::PayPal::API 0.50

Business::PayPal::API 0.50


Business::PayPal::API is a PayPal API. more>>
Business::PayPal::API is a PayPal API.

SYNOPSIS

use Business::PayPal::API qw( ExpressCheckout GetTransactionDetails );

## certificate authentication
my $pp = new Business::PayPal::API
( Username => my_api1.domain.tld,
Password => this_is_my_password,
PKCS12File => /path/to/cert.pkcs12,
PKCS12Password => (pkcs12 password),
sandbox => 1 );

## PEM cert authentication
my $pp = new Business::PayPal::API
( Username => my_api1.domain.tld,
Password => this_is_my_password,
CertFile => /path/to/cert.pem,
KeyFile => /path/to/cert.pem,
sandbox => 1 );

## 3-token (Signature) authentication
my $pp = new Business::PayPal::API
( Username => my_api1.domain.tld,
Password => Xdkis9k3jDFk39fj29sD9, ## supplied by PayPal
Signature => f7d03YCpEjIF3s9Dk23F2V1C1vbYYR3ALqc7jm0UrCcYm-3ksdiDwjfSeii, ## ditto
sandbox => 1 );

my %response = $pp->SetExpressCheckout( ... );

<<less
Download (0.030MB)
Added: 2007-07-18 License: Perl Artistic License Price:
838 downloads
FEAR::API 0.489

FEAR::API 0.489


FEAR::API is a tool that helps reduce the time you spend creating site scraping scripts. more>>
FEAR::API is a tool that helps reduce the time you spend creating site scraping scripts and helps you do it in a much more elegant way.
FEAR::API combines many strong and powerful features from various CPAN modules, such as LWP::UserAgent, Template::Extract, WWW::Mechanize, Encode, HTML::Parser, etc.
Enhancements:
- This release adds allow_domains() and deny_domains().
<<less
Download (0.068MB)
Added: 2006-06-27 License: Perl Artistic License Price:
1222 downloads
PDL::API 2.4.3

PDL::API 2.4.3


PDL::API is a Perl module for making piddles from Perl and C/XS code. more>>
PDL::API is a Perl module for making piddles from Perl and C/XS code.

A simple cookbook how to create piddles manually. It covers both the Perl and the C/XS level. Additionally, it describes the PDL core routines that can be accessed from other modules. These routines basically define the PDL API. If you need to access piddles from C/XS you probably need to know about these functions.

SYNOPSIS

use PDL;
sub mkmypiddle {
...
}

<<less
Download (2.1MB)
Added: 2006-10-27 License: Perl Artistic License Price:
1092 downloads
Wikipedia API 1.0

Wikipedia API 1.0


Wikipedia API is a simple API to embed Wikipedia content dynamically on a Web site. more>>
Wikipedia API is a simple API to embed Wikipedia content dynamically on a Web site.

Wikipedia is an online encyclopedia in which the user community is encouraged to submit information for its entries. Wikipedia is unique in that it is free to the public, the content is fairly well moderated, and its content is licensed under the GFDL (GNU Free Documentation License); therefore, all of its text can be copied, modified, and used any way you see fit.

The only stipulation to using its text, is that the names of the original authors must remain intact. KillerTux.com is currently embedding some of the relevant entries in its own site and has decided to make the API open for public use. It is a simple implementation and should be easy to use. If you are a webmaster and would like to use KillerTux.coms Wikipedia API, this is the place to learn how to do it.

What is an API

An API is an application programming interface with which external applications can communicate with. The syntax and usage of the API dictates the type of data, format, and other specifics of the information to be exchanged. In this case, the API is a simple call to KillerTux.coms web server via the HTTP protocol.

Wikipedia API usage

The URL for the API is "http://scrapers.killertux.com/wikipedia-api.php". It uses the get request method and only has 3 parameters. These parameters are as follows:

wikititle=
wikiformat=[html | text]
wikiimages=[yes | no ]

The wikititle value is the name of the Wikipedia entry you are looking for, in Wikipedias variable entry. This can be found by going to Wikipedia.org and finding an entry. The name is the last part of the URL. For instance, the Wikipedia entry for "Computer Program" is "http://en.wikipedia.org/wiki/Computer_Program". Notice the space is an underscore in the URL. Defining the wikititle value for this API would look like this: wikititle=Computer_Program. This value must be specified. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program". The wikiformat value currently has two possible values: html and text. html is the default if no value is specified. If you use HTML format, it is recommended that a style sheet be used, although it may not be necessary.

A sample CSS is provided here. The text format option strips all HTML code from the document and returns plain text formatted at 80 characters per column. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program&wikiformat=html". The wikiimages value is only valid for HTML format; images for the text format are disabled. Image source locations are preserved and images are loaded from Wikipedia, not KillerTux.com. If wikiimages=no is selected, all images and captions will be striped from the document, while other HTML code should remain intact such as links to other articles. A sample API call would be "http://scrapers.killertux.com/wikipedia-api.php?wikititle=Computer_Program&wikiimages=no".
<<less
Download (MB)
Added: 2007-03-05 License: GPL (GNU General Public License) Price:
1018 downloads
Inline-API 0.44

Inline-API 0.44


Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm. more>>
Inline-API is a Perl module that teach you how to bind a programming language to Perl using Inline.pm.

SYNOPSIS

#!/usr/bin/perl

use Inline Foo;
say_it(foo); # Use Foo to print "Hello, Foo"

__Foo__
foo-sub say_it {
foo-my $foo = foo-shift;
foo-print "Hello, $foon";
}

So you think Inline C is pretty cool, but what you really need is for Perl to work with the brand new programming language "Foo". Well youre in luck. Inline.pm has support for adding your own Inline Language Support Module (ILSM), like Inline::Foo.

Inline has always been intended to work with lots of different programming languages. Many of the details can be shared between implementations, so that Inline::Java has a similar interface to Inline::ASM. All of the common code is in Inline.pm.

Language specific modules like Inline::Python are subclasses of Inline.pm. They can inherit as much of the common behaviour as they want, and provide specific behaviour of their own. This usually comes in the form of Configuration Options and language specific compilation.

The Inline C support is probably the best boilerplate to copy from. Since version 0.30 all C support was isolated into the module Inline::C and the parsing grammar is further broken out into Inline::C::grammar. All of these components come with the Inline distribution.

This POD gives you all the details you need for implementing an ILSM. For further assistance, contact inline@perl.org See "SEE ALSO" below.
Well examine the joke language Inline::Foo which is distributed with Inline. It actually is a full functioning ILSM. I use it in Inlines test harness to test base Inline functionality. It is very short, and can help you get your head wrapped around the Inline API.

<<less
Download (0.089MB)
Added: 2007-06-16 License: Perl Artistic License Price:
521 downloads
Star Asterisk API 1.00

Star Asterisk API 1.00


Star Asterisk API is a high performance API that connects to the manager interface of Asterisk or to AstManProxy. more>>
Star Asterisk API is a high performance API that connects to the manager interface of Asterisk or to AstManProxy.
Star Asterisk API is easy to use, object-oriented, and easy to extend to suit your particular requirements.
Main features:
- Easy to use -- Simple php
- Easy to extend -- Object oriented approach
- High performance -- Handles High volume of traffic
<<less
Download (0.020MB)
Added: 2006-06-09 License: GPL (GNU General Public License) Price:
734 downloads
Asterisk Soap API 0.0.1 Alpha

Asterisk Soap API 0.0.1 Alpha


Asterisk Soap API is an extensible SOAP (Web services) API with the goal to create and support all Asterisk configuration featur more>>
Asterisk-Soap is an extensible SOAP (Web services) API with the goal to create and support all Asterisk configuration features.

Asterisk Soap APIs mainly feature is to provide a framework between asterisk core api and multi-platform frontends.
<<less
Download (MB)
Added: 2007-07-05 License: GPL (GNU General Public License) Price:
847 downloads
XML::API::WIX2 0.02

XML::API::WIX2 0.02


XML::API::WIX2 is a WIX source file generation through an object API. more>>
XML::API::WIX2 is a WIX source file generation through an object API.

SYNOPSIS

As a simple example the following perl code:

use XML::API;
my $m_wxs = new XML::API(doctype => WIX2, encoding => UTF-8);

$m_wxs->Product_open({
Id => 12345678-1234-1234-1234-123456789012,
Name => Test Package,
Language => 1033,
Version => 1.0.0.0,
Manufacturer => Microsoft Corporation,
});
$m_wxs->Package({
Id => 12345678-1234-1234-1234-123456789012,
Description => My first Windows Installer package,
Comments => This is my first attempt at creating a Windows Installer database,
Manufacturer => Microsoft Corporation,
InstallerVersion => 200,
Compressed => yes,
});
$m_wxs->Media({ Id =>1, Cabinet => product.cab, EmbedCab => yes});
$m_wxs->Directory_open({ Id => TARGETDIR, Name => SourceDir});
$m_wxs->Directory_open({ Id => "ProgramFilesFolder", Name => "PFiles"});
$m_wxs->Directory_open({ Id => "TESTFILEPRODUCTDIR", Name => "TFolder", LongName => "TestFolder"});
$m_wxs->Component_open({ Id => License, Guid => 12345678-1234-1234-1234-123456789012});
$m_wxs->File({ Id => "License", Name => "License.rtf", DiskId => "1", Source => "License.rtf"});
$m_wxs->Component_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Directory_close();
$m_wxs->Feature_open({ Id => License, Title => License files, Level => 1});
$m_wxs->ComponentRef({ Id => License });
$m_wxs->Feature_close();
$m_wxs->Property({Id => "WIXUI_INSTALLDIR", Value => "TESTFILEPRODUCTDIR"});
$m_wxs->UIRef({Id => "WixUI_Mondo"});
$m_wxs->Product_close();
$m_wxs->_print;

will produce the following nicely rendered output:

< ?xml version="1.0" encoding="UTF-8" ?>

< Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi">
< Product Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0">
< Package Comments="This is my first attempt at creating a Windows Installer database" Compressed="yes" Description="My first Windows Installer package" Id="12345678-1234-1234-1234-123456789012" InstallerVersion="200" Manufacturer="Microsoft Corporation" />
< Media Cabinet="product.cab" EmbedCab="yes" Id="1" />
< Directory Id="TARGETDIR" Name="SourceDir">
< Directory Id="ProgramFilesFolder" Name="PFiles">
< Directory Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder">
< Component Guid="12345678-1234-1234-1234-123456789012" Id="License">
< File DiskId="1" Id="License" Name="License.rtf" Source="License.rtf" />
< /Component> < !-- Guid="12345678-1234-1234-1234-123456789012" Id="License"-->
< /Directory> < !-- Id="TESTFILEPRODUCTDIR" LongName="TestFolder" Name="TFolder"-->
< /Directory> < !-- Id="ProgramFilesFolder" Name="PFiles"-->
< /Directory> < !-- Id="TARGETDIR" Name="SourceDir"-->
< Feature Id="License" Level="1" Title="License files">
< ComponentRef Id="License" />
< /Feature> < !-- Id="License" Level="1" Title="License files"-->
< Property Id="WIXUI_INSTALLDIR" Value="TESTFILEPRODUCTDIR" />
< UIRef Id="WixUI_Mondo" />
< /Product> < !-- Id="12345678-1234-1234-1234-123456789012" Language="1033" Manufacturer="Microsoft Corporation" Name="Test Package" Version="1.0.0.0"-->
< /Wix> < !-- xmlns="http://schemas.microsoft.com/wix/2003/01/wi"-->

<<less
Download (0.010MB)
Added: 2007-05-04 License: Perl Artistic License Price:
903 downloads
POE::API::Hooks 1.05

POE::API::Hooks 1.05


POE::API::Hooks is a Perl module to implement lightweight hooks into POE. more>>
POE::API::Hooks is a Perl module to implement lightweight hooks into POE.

SYNOPSIS

use POE;
use POE::API::Hooks;

POE::API::Hooks->add(
before_event_dispatch => &do_something,
after_event_dispatch => &do_something,
before_session_create => &do_something,
after_session_create => &do_something,
before_event_enqueue => &do_something,
after_event_enqueue => &do_something,
);

# ... carry on with life as normal ...

This module adds lightweight hooks into the inner workings of POE. Currently, one can add hooks into POE that get called before/after an event is dispatched, before/after a Session is created, and/or before/after an event is enqueued. These callbacks receive the exact same argument list as their Kernel/Session counterpart. For event dispatch related callbacks, see _dispatch_event and _data_ev_enqueue in POE::Kernel. For session related callbacks, see create in POE::Session.

<<less
Download (0.005MB)
Added: 2007-04-05 License: Perl Artistic License Price:
932 downloads
POE::API::Peek 1.0802

POE::API::Peek 1.0802


POE::API::Peek is a Perl module to peek into the internals of a running POE environment. more>>
POE::API::Peek is a Perl module to peek into the internals of a running POE environment.

POE::API::Peek extends the POE::Kernel interface to provide clean access to Kernel internals in a cross-version compatible manner. Other calculated data is also available.

My intention is to provide massive amounts of internal data for use in POE debugging.

WARNING

This version of this module is certified against POE version 0.38 and above. It will fail on any other POE version.

Further, this module requires perl v5.6.1 or above.

METHODS

new

my $api = POE::API::Peek->new();

Returns a blessed reference. Takes no parameters.

id

my $foo = $api->id();

Obtain the unique id for the kernel. Takes no parameters. Returns a scalar containing a string.

KERNEL UTILITIES

is_kernel_running
if($api->is_kernel_running) {
# do stuff...
}

Tell if the POE Kernel is running and active. Returns 1 if the Kernel is running and 0 if it is not.

active_event
my $event = $api->active_event();

Get the active event name. Returns a string containing the event name.

kernel_memory_size
my $size = $api->kernel_memory_size();

Get the memory footprint of the kernel and consequently the entire POE environment. See the Devel::Size documentation for several caveats involved in this metric.

event_list
my $events = $api->event_list();

Gets the list of events for the whole POE environment. Returns a hash with the session IDs as the keys and a list of events as the values.

which_loop
my $loop_name = $api->which_loop();

Tell which Loop POE has decided to use. Returns the string name of the Loop module.

<<less
Download (0.021MB)
Added: 2007-05-03 License: Perl Artistic License Price:
904 downloads
WWW::Facebook::API 0.3.3

WWW::Facebook::API 0.3.3


WWW::Facebook::API is a Facebook API implementation. more>>
WWW::Facebook::API is a Facebook API implementation.

SYNOPSIS

use WWW::Facebook::API;

my $client = WWW::Facebook::API->new(
desktop => 1,
throw_errors => 1,
parse => 1,
);

print "Enter your public API key: ";
chomp( my $val = < STDIN > );
$client->api_key($val);
print "Enter your API secret: ";
chomp($val = < STDIN > );
$client->secret($val);

print "Enter your e-mail address: ";
chomp(my $email = < STDIN > );
$client->secret($val);
print "Enter your password: ";
chomp(my $pass = < STDIN > );

my $token = $client->auth->login( email => $email, pass => $pass );
$client->auth->get_session( $token );

use Data::Dumper;
my $friends_perl = $client->friends->get;
print Dumper $friends_perl;

my $notifications_perl = $client->notifications->get;
print Dumper $notifications_perl;

# Current users quotes
my $quotes_perl = $client->users->get_info(
uids => $friends_perl,
fields => [quotes]
);
print Dumper $quotes_perl;

$client->auth->logout;

A Perl implementation of the Facebook API, working off of the canonical Java and PHP implementations. By default it uses JSON::Any to parse the response returned by Facebooks server. There is an option to return the raw response in either XML or JSON (See the parse method below).

<<less
Download (0.022MB)
Added: 2007-06-14 License: Perl Artistic License Price:
868 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5