A Twitter REST API library for Perl
Perl
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
lib/Twitter
t
.appveyor.yml
.gitignore
.travis.yml
Build.PL
Changes
LICENSE
META.json
README.md
cpanfile
dist.ini
weaver.ini

README.md

Twitter-API

Build Status CPAN

This is a rewrite of Net::Twitter and Net::Twitter::Lite. If it works out, I'll deprecate those modules in favor of this one.

I have several goals for the rewrite:

  • leaner
  • more robust
  • optional support for non-blocking IO (AnyEvent, POE, etc.)
  • easier to maintain
  • easier to grok, so easier for contributers to…contribute
  • support new API endpoints without necessitating a new distribution release

Install

To get started, clone the repository, install Carton if you don't already have it, and run carton install in the working directory.

See the current examples.

The core of this code is currently in Twitter::API::request. The idea is to have a sequence of stages that have the proper granularity so they can be easily augmented with roles (traits) or overridden in derived classes to easily extend and enhance the core. The base module should be lean, and fully functional for the most common use cases.

Feedback

If you have feedback, or want to help, find me in #net-twitter on irc.perl.org, or file an issue. Be patient on IRC. I'm away for hours, sometimes days, at a time.