{"id":18981456,"url":"https://github.com/awncorp/api-twitter","last_synced_at":"2026-06-20T03:32:13.781Z","repository":{"id":77256360,"uuid":"300956732","full_name":"awncorp/api-twitter","owner":"awncorp","description":"Twitter.com API Client","archived":false,"fork":false,"pushed_at":"2020-10-03T20:33:07.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-11-11T03:24:30.120Z","etag":null,"topics":["api-client","perl","perl5"],"latest_commit_sha":null,"homepage":"","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/awncorp.png","metadata":{"files":{"readme":"README","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-03T19:04:05.000Z","updated_at":"2022-07-24T20:55:10.000Z","dependencies_parsed_at":"2023-02-23T17:15:40.941Z","dependency_job_id":null,"html_url":"https://github.com/awncorp/api-twitter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/awncorp/api-twitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-twitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-twitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-twitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-twitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/awncorp","download_url":"https://codeload.github.com/awncorp/api-twitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/awncorp%2Fapi-twitter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34556494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","perl","perl5"],"created_at":"2024-11-08T16:10:00.092Z","updated_at":"2026-06-20T03:32:13.765Z","avatar_url":"https://github.com/awncorp.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"NAME\n\n    API::Twitter - Twitter.com API Client\n\nVERSION\n\n    version 0.05\n\nSYNOPSIS\n\n        use API::Twitter;\n    \n        my $twitter = API::Twitter-\u003enew(\n            consumer_key        =\u003e 'CONSUMER_KEY',\n            consumer_secret     =\u003e 'CONSUMER_SECRET',\n            access_token        =\u003e 'ACCESS_TOKEN',\n            access_token_secret =\u003e 'ACCESS_TOKEN_SECRET',\n            identifier          =\u003e 'IDENTIFIER',\n        );\n    \n        $twitter-\u003edebug(1);\n        $twitter-\u003efatal(1);\n    \n        my $user = $twitter-\u003eusers('lookup');\n        my $results = $user-\u003efetch;\n    \n        # after some introspection\n    \n        $user-\u003eupdate( ... );\n\nDESCRIPTION\n\n    This distribution provides an object-oriented thin-client library for\n    interacting with the Twitter (http://twitter.com) API. For usage and\n    documentation information visit https://dev.twitter.com/rest/public.\n    API::Twitter is derived from API::Client and inherits all of it's\n    functionality. Please read the documentation for API::Client for more\n    usage information.\n\nATTRIBUTES\n\n access_token\n\n        $twitter-\u003eaccess_token;\n        $twitter-\u003eaccess_token('ACCESS_TOKEN');\n\n    The access_token attribute should be set to an API access_token\n    associated with your account.\n\n access_token_secret\n\n        $twitter-\u003eaccess_token_secret;\n        $twitter-\u003eaccess_token_secret('ACCESS_TOKEN_SECRET');\n\n    The access_token_secret attribute should be set to an API\n    access_token_secret associated with your account.\n\n consumer_key\n\n        $twitter-\u003econsumer_key;\n        $twitter-\u003econsumer_key('CONSUMER_KEY');\n\n    The consumer_key attribute should be set to an API consumer_key\n    associated with your account.\n\n consumer_secret\n\n        $twitter-\u003econsumer_secret;\n        $twitter-\u003econsumer_secret('CONSUMER_SECRET');\n\n    The consumer_secret attribute should be set to an API consumer_secret\n    associated with your account.\n\n identifier\n\n        $twitter-\u003eidentifier;\n        $twitter-\u003eidentifier('IDENTIFIER');\n\n    The identifier attribute should be set to a string that identifies your\n    app.\n\n debug\n\n        $twitter-\u003edebug;\n        $twitter-\u003edebug(1);\n\n    The debug attribute if true prints HTTP requests and responses to\n    standard out.\n\n fatal\n\n        $twitter-\u003efatal;\n        $twitter-\u003efatal(1);\n\n    The fatal attribute if true promotes 4xx and 5xx server response codes\n    to exceptions, a API::Client::Exception object.\n\n retries\n\n        $twitter-\u003eretries;\n        $twitter-\u003eretries(10);\n\n    The retries attribute determines how many times an HTTP request should\n    be retried if a 4xx or 5xx response is received. This attribute\n    defaults to 1.\n\n timeout\n\n        $twitter-\u003etimeout;\n        $twitter-\u003etimeout(5);\n\n    The timeout attribute determines how long an HTTP connection should be\n    kept alive. This attribute defaults to 10.\n\n url\n\n        $twitter-\u003eurl;\n        $twitter-\u003eurl(Mojo::URL-\u003enew('https://api.twitter.com'));\n\n    The url attribute set the base/pre-configured URL object that will be\n    used in all HTTP requests. This attribute expects a Mojo::URL object.\n\n user_agent\n\n        $twitter-\u003euser_agent;\n        $twitter-\u003euser_agent(Mojo::UserAgent-\u003enew);\n\n    The user_agent attribute set the pre-configured UserAgent object that\n    will be used in all HTTP requests. This attribute expects a\n    Mojo::UserAgent object.\n\nMETHODS\n\n action\n\n        my $result = $twitter-\u003eaction($verb, %args);\n    \n        # e.g.\n    \n        $twitter-\u003eaction('head', %args);    # HEAD request\n        $twitter-\u003eaction('options', %args); # OPTIONS request\n        $twitter-\u003eaction('patch', %args);   # PATCH request\n\n    The action method issues a request to the API resource represented by\n    the object. The first parameter will be used as the HTTP request\n    method. The arguments, expected to be a list of key/value pairs, will\n    be included in the request if the key is either data or query.\n\n create\n\n        my $results = $twitter-\u003ecreate(%args);\n    \n        # or\n    \n        $twitter-\u003ePOST(%args);\n\n    The create method issues a POST request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n delete\n\n        my $results = $twitter-\u003edelete(%args);\n    \n        # or\n    \n        $twitter-\u003eDELETE(%args);\n\n    The delete method issues a DELETE request to the API resource\n    represented by the object. The arguments, expected to be a list of\n    key/value pairs, will be included in the request if the key is either\n    data or query.\n\n fetch\n\n        my $results = $twitter-\u003efetch(%args);\n    \n        # or\n    \n        $twitter-\u003eGET(%args);\n\n    The fetch method issues a GET request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\n update\n\n        my $results = $twitter-\u003eupdate(%args);\n    \n        # or\n    \n        $twitter-\u003ePUT(%args);\n\n    The update method issues a PUT request to the API resource represented\n    by the object. The arguments, expected to be a list of key/value pairs,\n    will be included in the request if the key is either data or query.\n\nRESOURCES\n\n account\n\n        $twitter-\u003eaccount;\n\n    The account method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#account.\n\n application\n\n        $twitter-\u003eapplication;\n\n    The application method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#application.\n\n blocks\n\n        $twitter-\u003eblocks;\n\n    The blocks method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#blocks.\n\n direct_messages\n\n        $twitter-\u003edirect_messages;\n\n    The direct_messages method returns a new instance representative of the\n    API resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://dev.twitter.com/rest/public#direct_messages.\n\n favorites\n\n        $twitter-\u003efavorites;\n\n    The favorites method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#favorites.\n\n followers\n\n        $twitter-\u003efollowers;\n\n    The followers method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#followers.\n\n friends\n\n        $twitter-\u003efriends;\n\n    The friends method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#friends.\n\n friendships\n\n        $twitter-\u003efriendships;\n\n    The friendships method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#friendships.\n\n geo\n\n        $twitter-\u003egeo;\n\n    The geo method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information. https://dev.twitter.com/rest/public#geo.\n\n help\n\n        $twitter-\u003ehelp;\n\n    The help method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#help.\n\n lists\n\n        $twitter-\u003elists;\n\n    The lists method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#lists.\n\n media\n\n        $twitter-\u003emedia;\n\n    The media method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#media.\n\n mutes\n\n        $twitter-\u003emutes;\n\n    The mutes method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#mutes.\n\n saved_searches\n\n        $twitter-\u003esaved_searches;\n\n    The saved_searches method returns a new instance representative of the\n    API resource requested. This method accepts a list of path segments\n    which will be used in the HTTP request. The following documentation can\n    be used to find more information.\n    https://dev.twitter.com/rest/public#saved_searches.\n\n search\n\n        $twitter-\u003esearch;\n\n    The search method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#search.\n\n statuses\n\n        $twitter-\u003estatuses;\n\n    The statuses method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#statuses.\n\n trends\n\n        $twitter-\u003etrends;\n\n    The trends method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#trends.\n\n users\n\n        $twitter-\u003eusers;\n\n    The users method returns a new instance representative of the API\n    resource requested. This method accepts a list of path segments which\n    will be used in the HTTP request. The following documentation can be\n    used to find more information.\n    https://dev.twitter.com/rest/public#users.\n\nAUTHOR\n\n    Al Newkirk \u003canewkirk@ana.io\u003e\n\nCOPYRIGHT AND LICENSE\n\n    This software is copyright (c) 2014 by Al Newkirk.\n\n    This is free software; you can redistribute it and/or modify it under\n    the same terms as the Perl 5 programming language system itself.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-twitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fawncorp%2Fapi-twitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fawncorp%2Fapi-twitter/lists"}