kereta api
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 1695
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".
<<lessWikipedia 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".
Download (MB)
Added: 2007-03-05 License: GPL (GNU General Public License) Price:
1018 downloads
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();
<<lessSYNOPSIS
# 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();
Download (0.097MB)
Added: 2007-05-25 License: Perl Artistic License Price:
883 downloads
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().
<<lessFEAR::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().
Download (0.068MB)
Added: 2006-06-27 License: Perl Artistic License Price:
1222 downloads
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
<<lessStar 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
Download (0.020MB)
Added: 2006-06-09 License: GPL (GNU General Public License) Price:
734 downloads
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)
<<lessIt 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)
Download (0.033MB)
Added: 2007-02-15 License: BSD License Price:
996 downloads
Datashaping 0.3.2
A pythonic query API for structured data more>>
Datashaping 0.3.2 is a useful program which provides very simple pythonic API allowing for complex queries on structured data.
Currently supported are lists of dictionaries. Nested structures (dictionaries, lists) are also indexed and can be queried.
Added: 2009-07-14 License: LGPL Price: FREE
11 downloads
GROU.PS Web 2.0 API 0.1
GROU.PS Web is a general purpose PHP API, created for use in Web 2.0 sites. more>>
GROU.PS Web is a general purpose PHP API, created for use in Web 2.0 sites. It includes frequently used design patterns of well known web 2.0 sites. For a correct definiton of Web 2.0, you may want to check http://en.wikipedia.org/wiki/Web_2.0
Our API currently has 2 classes:
1) TagCloud?.class.php
Feed the class with your own data, and create Web 2.0 style tag clouds
2) Utility.class.php
General purpose functions. For instance getStyledDateDiff gives nicely formatted date differences that are in use in digg.com and grou.ps
The APIs are not complete yet. We are open to any ideas, wished coming from you.
Usage:
Tag Cloud Example
< ?php
require_once(/path/to/TagCloud.class.php);
$tc = new TagCloud();
$tc->setMinFontSize(8);
$tc->setMaxFontSize(20);
$tc->setDistributionType(TC_RANDOM_DISTRIBUTION);
$tc->setDataClass(tags);
$tc->addData(love,10);
$tc->addData(sex,20);
$tc->addData(food,5);
$tc->addData(business,1);
$tc->addData(PHP,2);
$res = $tc->generate();
echo $res;
? >
Utility Example:
< ?php
require_once(/path/to/Utility.class.php);
$start_date = "September 21, 1999";
$end_date = "yesterday";
$u = new Utility();
$datediff = $u->getStyledDateDiff($start_date,$end_date);
$birthday = "11 January 1978";
$zodiacsign = $u->getZodiacSign($birthday);
echo $datediff;
echo "
";
echo $zodiacsign;
? >
<<lessOur API currently has 2 classes:
1) TagCloud?.class.php
Feed the class with your own data, and create Web 2.0 style tag clouds
2) Utility.class.php
General purpose functions. For instance getStyledDateDiff gives nicely formatted date differences that are in use in digg.com and grou.ps
The APIs are not complete yet. We are open to any ideas, wished coming from you.
Usage:
Tag Cloud Example
< ?php
require_once(/path/to/TagCloud.class.php);
$tc = new TagCloud();
$tc->setMinFontSize(8);
$tc->setMaxFontSize(20);
$tc->setDistributionType(TC_RANDOM_DISTRIBUTION);
$tc->setDataClass(tags);
$tc->addData(love,10);
$tc->addData(sex,20);
$tc->addData(food,5);
$tc->addData(business,1);
$tc->addData(PHP,2);
$res = $tc->generate();
echo $res;
? >
Utility Example:
< ?php
require_once(/path/to/Utility.class.php);
$start_date = "September 21, 1999";
$end_date = "yesterday";
$u = new Utility();
$datediff = $u->getStyledDateDiff($start_date,$end_date);
$birthday = "11 January 1978";
$zodiacsign = $u->getZodiacSign($birthday);
echo $datediff;
echo "
";
echo $zodiacsign;
? >
Download (0.007MB)
Added: 2006-04-13 License: MIT/X Consortium License Price:
1292 downloads
JGCalAPI 0.1
JGCalAPI offers a user-friendly wrapper for the Google Calendaring GData API which is intended to hide much of the REST ugliness of the API, thus making it somewhat easier to get started with and to use. more>>
JGCalAPI 0.1 offers a user-friendly wrapper for the Google Calendaring GData API which is intended to hide much of the REST ugliness of the API, thus making it somewhat easier to get started with and to use.
Requirements: Java 1.5 or later
<<less Added: 2008-01-07 License: The Apache License 2.0 Price: FREE
1 downloads
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.
<<lessAsterisk Soap APIs mainly feature is to provide a framework between asterisk core api and multi-platform frontends.
Download (MB)
Added: 2007-07-05 License: GPL (GNU General Public License) Price:
847 downloads
WebService::FC2::SpamAPI 0.02
WebService::FC2::SpamAPI is a FC2 blog spam API client. more>>
WebService::FC2::SpamAPI is a FC2 blog spam API client.
SYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
<<lessSYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
Download (0.005MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
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.
<<lessSYNOPSIS
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.
Download (0.013MB)
Added: 2007-04-02 License: Perl Artistic License Price:
935 downloads
Simple C++ ODBC Database API 1.10
The SimpleDB API is a C++ API designed to encapsulate the ODBC API functionality in an object oriented manner. more>>
Simple C++ ODBC Database API is designed to encapsulate the ODBC API functionality in an object oriented manner.
The API was created due to an absence of any other such API that was database independent. The database independence is achieved using the ODBC (Open DataBase Connectivity) API.
The API provides a Database object that can be used to create instances of Query objects. The Query objects are used to query a database and allow columns to be bound for the query.
The flowing column objects are currently available (as of Jan 2005): a boolean column, a long column and a string column. The string column makes use of the libstdc++ string class so you dont have to mess around with malloc.
The Database object also has some convenience member functions that allow queries that return a single integer or string to be executed without having to create a query object or bind columns.
The API has been tested to work with both MySql and PostGreSQL on a Debian Linux platform.
Enhancements:
- DoubleColumn, IntColumn, and BigintColumn were added.
- The LongColumn is deprecated.
<<lessThe API was created due to an absence of any other such API that was database independent. The database independence is achieved using the ODBC (Open DataBase Connectivity) API.
The API provides a Database object that can be used to create instances of Query objects. The Query objects are used to query a database and allow columns to be bound for the query.
The flowing column objects are currently available (as of Jan 2005): a boolean column, a long column and a string column. The string column makes use of the libstdc++ string class so you dont have to mess around with malloc.
The Database object also has some convenience member functions that allow queries that return a single integer or string to be executed without having to create a query object or bind columns.
The API has been tested to work with both MySql and PostGreSQL on a Debian Linux platform.
Enhancements:
- DoubleColumn, IntColumn, and BigintColumn were added.
- The LongColumn is deprecated.
Download (0.083MB)
Added: 2006-07-16 License: LGPL (GNU Lesser General Public License) Price:
702 downloads
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.
<<lessABSTRACT
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.
Download (0.64MB)
Added: 2007-07-16 License: Perl Artistic License Price:
832 downloads
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.
<<lessSYNOPSIS
#!/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.
Download (0.089MB)
Added: 2007-06-16 License: Perl Artistic License Price:
521 downloads
libsrvtab 0.0.4
libsrvtab provides a simple API to Kerberos v4 srvtab handling. more>>
libsrvtab is a library that provides a simple API to Kerberos v4 srvtab handling, and offers reliable handling of the srvtab file to insure against corruption.
To compile: smake -gnu wash mk install
<<lessTo compile: smake -gnu wash mk install
Download (0.016MB)
Added: 2006-11-24 License: GPL (GNU General Public License) Price:
1064 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above kereta api search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed