{
    "content": [
        {
            "type": "text",
            "text": "# Finance::Quote::CurrencyRates::AlphaVantage (perldoc)\n\n## NAME\n\nFinance::Quote::CurrencyRates::AlphaVantage - Obtain currency rates from https://www.alphavantage.co\n\n## SYNOPSIS\n\nuse Finance::Quote;\n$q = Finance::Quote->new(currencyrates => {order        => ['AlphaVantage'],\nalphavantage => {APIKEY => ...}});\n$value = $q->currency('18.99 EUR', 'USD');\n\n## DESCRIPTION\n\nThis module fetches currency rates from https://www.alphavantage.co and provides data to\nFinance::Quote to convert the first argument to the equivalent value in the currency indicated\nby the second argument.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **APIKEY**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Finance::Quote::CurrencyRates::AlphaVantage",
        "section": "",
        "mode": "perldoc",
        "summary": "Finance::Quote::CurrencyRates::AlphaVantage - Obtain currency rates from https://www.alphavantage.co",
        "synopsis": "use Finance::Quote;\n$q = Finance::Quote->new(currencyrates => {order        => ['AlphaVantage'],\nalphavantage => {APIKEY => ...}});\n$value = $q->currency('18.99 EUR', 'USD');",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "APIKEY",
                "lines": 13,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Finance::Quote::CurrencyRates::AlphaVantage - Obtain currency rates from\nhttps://www.alphavantage.co\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Finance::Quote;\n\n$q = Finance::Quote->new(currencyrates => {order        => ['AlphaVantage'],\nalphavantage => {APIKEY => ...}});\n\n$value = $q->currency('18.99 EUR', 'USD');\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module fetches currency rates from https://www.alphavantage.co and provides data to\nFinance::Quote to convert the first argument to the equivalent value in the currency indicated\nby the second argument.\n\nThis module is the default currency conversion module for a Finance::Quote object.\n",
                "subsections": []
            },
            "APIKEY": {
                "content": "https://www.alphavantage.co requires users to register and obtain an API key, which is also\ncalled a token.\n\nThe API key may be set by either providing a alphavantage hash inside the currencyrates hash to\nFinance::Quote->new as in the above example, or by setting the environment variable\nALPHAVANTAGEAPIKEY.\n\nTerms & Conditions\nUse of https://www.alphavantage.co is governed by any terms & conditions of that site.\n\nFinance::Quote is released under the GNU General Public License, version 2, which explicitly\ncarries a \"No Warranty\" clause.\n",
                "subsections": []
            }
        }
    }
}