NAME

Finance::SEC::EdgarData - scraping edgar for fun and profit

SYNOPSIS

EXAMPLE:

use Finance::SEC::EdgarData;

# set user agent to format Edgar requires
set_user_agent('company email@example.com');

# get dates of filing type
my @dates = get_filing_dates('aapl', '10-q');
say join ',', @dates;

# get url for file type and date
my $filing_url = get_filing_url('aapl', '10-q', '2019-07-31');
my $xbrl_url = get_xbrl_url($filing_url);
say $xbrl_url;

# parse filing
my $root = get_filing('aapl', '10-q', '2019-07-31');

DESCRIPTION

This module is a simple interface to Edgar data.

AUTHOR

Andrew Shapiro, <trski@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2022 Andrew Shapiro.

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.