Michael Aquilina > WWW-Indeed-0.01 > WWW::Indeed

Download:
WWW-Indeed-0.01.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.01   Source  

NAME ^

WWW::Indeed - Perl interface to the Indeed.com web service

SYNOPSIS ^

  use WWW::Indeed;

  my $indeed = WWW::Indeed->new(api_key => 'YOUR API KEY HERE');

  my @postings = $indeed->get_postings(
      'Project Manager',
      location => 'New York, NY',
      sort     => 'date',
      limit    => 25,
      days     => 14,
      filter   => 1,
  );

  for my $posting (@postings) {
      print "$posting->{title} at $posting->{company} - $posting->{url}\n";
  }

  print "Used " . $indeed->api_calls_used . " API calls";

DESCRIPTION ^

This module provides an object-oriented Perl interface to the Indeed.com web service.

METHODS ^

$self->get_postings('Project Manager', limit => 10)

Given a query, returns job posting that match that query.

Along with the query, takes the following parameters as a hash:

$self->api_calls_used

Returns the number of API calls used for this particular object.

$self->api_call(param1 => 'foo', param2 => 'bar')

Submits an API call to the Indeed API using the passed paramters, parses the response, and returns it as a Perl data structure. It shouldn't be necessary to use this method directly.

DEPENDENCIES ^

LWP::UserAgent, XML::Simple

BUGS ^

In cases where the specified limit is above Indeed's maximum, one API call is used solely to determine the number of records available in the search. This should be optimized.

DISCLAIMER ^

The author of this module is not affiliated in any way with Indeed.com. Users must follow the Indeed.com API TOS (see http://www.indeed.com) when using this module.

COPYRIGHT AND LICENSE ^

Copyright (C) 2010 Michael Aquilina. All rights reserved.

This code is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR ^

Michael Aquilina, aquilina@cpan.org

syntax highlighting: