GitHub::Jobs - This module is a wrapper around the GitHub Jobs API.
Version 0.05
Check if description parameter is empty!
Generate URL with parameters values and send HTTP Request!
This module is the implementation of a interface to the GitHub Jobs API (as available on https://jobs.github.com/api)
use strict; use warnings; use GitHub::Jobs; use JSON::XS; use POSIX; $|++; my $query = 'software'; my $count = 0; my $pagination = 0; sub initial { my $page = shift; my $str = GitHub::Jobs->new( description => $query, page => $page ); return JSON::XS::decode_json( $str->search() ); } sub decode { foreach my $items ( @{ initial($pagination) } ) { print $items->{title} . " ---- "; print $items->{company} . "\n"; $count++; } my $page_count = ceil( ( $count / 50 ) ); if ( ($page_count) && ( $page_count != $pagination ) ) { $pagination = $page_count; &decode; } } decode;
Ovidiu Nita Tatar, <ovn.tatar at gmail.com>
<ovn.tatar at gmail.com>
Please report any bugs or feature requests to bug-github-jobs at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=GitHub-Jobs. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-github-jobs at rt.cpan.org
or https://github.com/ovntatar/GitHub-Jobs/issues
You can find documentation for this module with the perldoc command.
perldoc GitHub::Jobs https://github.com/ovntatar/GitHub-Jobs
You can also look for information at:
RT: CPAN's request tracker (report bugs here)
http://rt.cpan.org/NoAuth/Bugs.html?Dist=GitHub-Jobs
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/GitHub-Jobs
CPAN Ratings
http://cpanratings.perl.org/d/GitHub-Jobs
Search CPAN
http://search.cpan.org/dist/GitHub-Jobs/
Copyright 2013 Ovidiu Nita Tatar.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install GitHub::Jobs, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GitHub::Jobs
CPAN shell
perl -MCPAN -e shell install GitHub::Jobs
For more information on module installation, please visit the detailed CPAN module installation guide.