NAME

API::Octopart - Simple inteface for querying part status across vendors at octopart.com.

SYNOPSIS

    my $o = API::Octopart->new(
            token => 'abcdefg-your-octopart-token-here',
            cache => "$ENV{HOME}/.octopart/cache",
            include_specs => 1,
            ua_debug => 1,
            query_limit => 10
            );

    # Query part stock:
    my %opts = (
            currency => 'USD',
            max_moq => 100,
            min_qty => 10,
            max_price => 4,
            #mfg => 'Murata',
    );
    print Dumper $o->get_part_stock_detail('RC0805FR-0710KL', %opts);
    print Dumper $o->get_part_stock_detail('GQM1555C2DR90BB01D', %opts);

METHODS

SEE ALSO

https://octopart.com/, https://octopart.com/api

ATTRIBUTION

Octopart is a registered trademark and brand of Octopart, Inc. All tradmarks, product names, logos, and brands are property of their respective owners and no grant or license is provided thereof.

The copyright below applies to this software module; the copyright holder is unaffiliated with Octopart, Inc.

AUTHOR

Originally written at eWheeler, Inc. dba Linux Global by Eric Wheeler to facilitate optimization of RF matching components, but only for components that are available for purchase at electronic component vendors (of course!) https://youtu.be/xbdBjR4szjE

COPYRIGHT

Copyright (C) 2022 eWheeler, Inc. dba Linux Global https://www.linuxglobal.com/

This module is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This module is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this module. If not, see <http://www.gnu.org/licenses/>.