{"id":20550230,"url":"https://github.com/dnmfarrell/twitter-queue","last_synced_at":"2025-07-18T09:33:48.339Z","repository":{"id":56836639,"uuid":"94938577","full_name":"dnmfarrell/Twitter-Queue","owner":"dnmfarrell","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-21T13:48:51.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-16T16:49:19.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dnmfarrell.png","metadata":{"files":{"readme":"README.pod","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-20T21:59:27.000Z","updated_at":"2017-06-20T22:01:08.000Z","dependencies_parsed_at":"2022-09-01T09:21:11.103Z","dependency_job_id":null,"html_url":"https://github.com/dnmfarrell/Twitter-Queue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FTwitter-Queue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FTwitter-Queue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FTwitter-Queue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dnmfarrell%2FTwitter-Queue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dnmfarrell","download_url":"https://codeload.github.com/dnmfarrell/Twitter-Queue/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242157180,"owners_count":20081036,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-16T02:23:57.564Z","updated_at":"2025-03-06T05:43:51.632Z","avatar_url":"https://github.com/dnmfarrell.png","language":"Perl","funding_links":[],"categories":[],"sub_categories":[],"readme":"=encoding utf8\n\n=head1 NAME\n\nTwitter::Queue - the micro blogging cloud based FIFO queue\n\n=head1 SYNOPSIS\n\n  use Twitter::Queue;\n\n  my $q = Twitter::Queue-new({\n    consumer_key        =\u003e '311ee384568611e79db19e8',\n    consumer_secret     =\u003e '3cac5b46568611e79c9c5ad',\n    access_token        =\u003e '45d89cc0568611e7991c72d',\n    access_token_secret =\u003e '470dbab2568611e79c5d8ad',\n  });\n\n  $q-\u003eadd('{\"some\":\"jsondata\"}');\n  ...\n\n  while (my $item = $q-\u003enext) {\n    # do something\n  }\n\n=head1 METHODS\n\n=head2 new ($args)\n\nConstructor, returns a new C\u003cTwitter::Queue\u003e object.\n\nRequires hashref containing these key values:\n\n  consumer_key        =\u003e '...',\n  consumer_secret     =\u003e '...',\n  access_token        =\u003e '...',\n  access_token_secret =\u003e '...',\n  size                =\u003e 100, # optional queue size\n\nThe Twitter key/secrets come from the Twitter API. You need to L\u003cregister|http://apps.twitter.com\u003e\nan application with Twitter in order to obtain them.\n\n=head2 add ($item)\n\nAdds C\u003c$item\u003e to the queue, C\u003c$item\u003e must be be a string that complies with Twitter's\ncharacter counting L\u003crules|https://dev.twitter.com/basics/counting-characters\u003e.\n\n=head2 next ()\n\nReturns the next item in the queue, removing it from the queue. Returns C\u003cundef\u003e\nif the queue is empty.\n\n=head1 AUTHOR\n\nE\u003ccopy\u003e 2017 David Farrell\n\n=head1 LICENSE\n\nThe (two-clause) FreeBSD License, see LICENSE.\n\n\n=cut\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Ftwitter-queue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdnmfarrell%2Ftwitter-queue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdnmfarrell%2Ftwitter-queue/lists"}