{
    "content": [
        {
            "type": "text",
            "text": "# Net::Twitter::OAuth (perldoc)\n\n## NAME\n\nNet::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards compatibility\n\n## SYNOPSIS\n\nuse Net::Twitter;\nmy $nt = Net::Twitter::OAuth->new(consumerkey => $key, consumersecret => $secret);\n\n## DESCRIPTION\n\nThis module simply creates an instance of \"Net::Twitter\" with the \"Legacy\" and \"OAuth\" traits\napplied. It is provided as a transparent backwards compatibility layer for earlier versions of\nNet::Twitter::OAuth which subclassed Net::Twitter.\n\n## Sections\n\n- **NAME**\n- **VERSION**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **DEPRECATION NOTICE**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHORS**\n- **LICENSE**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::Twitter::OAuth",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards compatibility",
        "synopsis": "use Net::Twitter;\nmy $nt = Net::Twitter::OAuth->new(consumerkey => $key, consumersecret => $secret);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "VERSION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "DEPRECATION NOTICE",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "LICENSE",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::Twitter::OAuth - Net::Twitter with 'Legacy' and 'OAuth' roles for backwards compatibility\n",
                "subsections": []
            },
            "VERSION": {
                "content": "version 4.01043\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::Twitter;\n\nmy $nt = Net::Twitter::OAuth->new(consumerkey => $key, consumersecret => $secret);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This module simply creates an instance of \"Net::Twitter\" with the \"Legacy\" and \"OAuth\" traits\napplied. It is provided as a transparent backwards compatibility layer for earlier versions of\nNet::Twitter::OAuth which subclassed Net::Twitter.\n\nSee Net::Twitter and Net::Twitter::Role::OAuth for full documentation.\n",
                "subsections": []
            },
            "DEPRECATION NOTICE": {
                "content": "This module is deprecated. Use Net::Twitter instead.\n\nuse Net::Twitter;\n\n# Just the REST API; exceptions thrown on error\n$nt = Net::Twitter->new(traits => [qw/API::RESTv11 OAuth/]);\n\n# Just the REST API; errors wrapped - use $nt->geterror\n$nt = Net::Twitter->new(traits => [qw/API::RESTv11 WrapError/]);\n\n# Or, for code that uses legacy Net::Twitter idioms\n$nt = Net::Twitter->new(traits => [qw/Legacy OAuth/]);\n",
                "subsections": []
            },
            "METHODS": {
                "content": "new Creates a \"Net::Twitter\" object with the \"Legacy\" and \"OAuth\" traits. See \"new\" in\nNet::Twitter for \"new\" options.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::Twitter, Net::Twitter::Role::OAuth\n",
                "subsections": []
            },
            "AUTHORS": {
                "content": "Marc Mims <marc@questright.com> Tatsuhiko Miyagawa <miyagawa@bulknews.net>\n",
                "subsections": []
            },
            "LICENSE": {
                "content": "This library is free software; you can redistribute it and/or modify it under the same terms as\nPerl itself.\n",
                "subsections": []
            }
        }
    }
}