
Webservice::InterMine::Simple::Service

my $service = get_service("http://www.flymine.org/query/service");
my $query = $service->new_query;
$query->add_view("Organism.shortName", "Organism.taxonId");
$query->add_constraint({path => "Organism.genus", op => "=", value => "Rattus"});
@rows = $query2->results_table;
for my $row (@rows) {
print "name: $row->[0], id: $row->[1]\n";
}

This is a basic representation of a connection to an InterMine web-service. It has some facilities for handling simple queries and templates.

Parameters:
The root url of the webservice.
The authorisation token of the user (optional)
The login name of the user (optional - requires a password)
The password of the user.
Construct a new query from an XML serialisation.
Parameters:
Only one source argument is required.
Construct a new blank query.
Construct a new template object to retrieve results from the template with the given name.


Alex Kalderimis <dev@intermine.org>

Please report any bugs or feature requests to dev@intermine.org.

You can find documentation for this module with the perldoc command.
perldoc Webservice::InterMine
You can also look for information at:

Copyright 2006 - 2011 FlyMine, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.