Twitter::API - A Twitter REST API library for Perl River stage one • 2 direct dependents • 2 total dependents

Twitter::API provides an interface to the Twitter REST API for perl. Features: * full support for all Twitter REST API endpoints * not dependent on a new distribution for new endpoint support * optionally specify access tokens per API call * error ha...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Util - Utilities for working with the Twitter API River stage one • 2 direct dependents • 2 total dependents

Exports helpful utility functions....

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Error - Twitter API exception River stage one • 2 direct dependents • 2 total dependents

Twitter::API dies, throwing a Twitter::API::Error exception when it receives an error. The error object contains information about the error so your code can decide how to respond to various error conditions....

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Context - Encapsulated state for a request/response River stage one • 2 direct dependents • 2 total dependents

The state for every API call is stored in a context object. It is automatically created when a request is initiated and is returned to the caller as the second value in list context. The context includes the HTTP::Request and HTTP::Response objects, ...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::AppAuth - App-only (OAuth2) Authentication River stage one • 2 direct dependents • 2 total dependents

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::Migration - Migration support Net::Twitter/::Lite users River stage one • 2 direct dependents • 2 total dependents

Twitter::API is a rewrite of Net::Twitter. It's leaner, lighter, and has faster—fewer dependencies, and less baggage. This trait helps Net::Twitter and Net::Twitter::Lite users migrate to Twitter::API by providing Net::Twitter compatible behavior whe...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::Enchilada - Sometimes you want the whole enchilada River stage one • 2 direct dependents • 2 total dependents

This is just a shortcut for applying commonly used traits. Because, sometimes, you just want the whole enchilada. This role simply bundles the following traits. See those modules for details. * ApiMethods * NormalizeBooleans * RetryOnError * DecodeHt...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Role::RequestArgs - API request method helpers River stage one • 2 direct dependents • 2 total dependents

Helper methods for implementers of custom traits for creating concise Twitter API methods. Used in Twitter::API::Trait::ApiMethods....

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::ApiMethods - Convenient API Methods River stage one • 2 direct dependents • 2 total dependents

This trait provides convenient methods for calling API endpoints. They are Net::Twitter compatible, with the same names and calling conventions. Refer to Twitter's API documentation <https://developer.twitter.com/en/docs/api-reference-index> for deta...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::RetryOnError - Automatically retry API calls on error River stage one • 2 direct dependents • 2 total dependents

With this trait applied, Twitter::API automatically retries API calls that result in an HTTP status code of 500 or greater. These errors often indicate a temporary problem, either on Twitter's end, locally, or somewhere in between. By default, it ret...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::RateLimiting - Automatically sleep as needed to handle rate limiting River stage one • 2 direct dependents • 2 total dependents

Twitter's API implements rate limiting in a 15-minute window, and will serve up an HTTP 429 error if the rate limit is exceeded for a window. Applying this trait will give Twitter::API the ability to automatically sleep as much as is needed and then ...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::NormalizeBooleans - Normalize Booleans River stage one • 2 direct dependents • 2 total dependents

Twitter has a strange concept of boolean values. Usually, the API accepts "t", "true", or 1 for true. Sometimes it accepts "f", "false", or 0 for false. But then you have strange cases like the "include_email" parameter used for authorized applicatio...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

Twitter::API::Trait::DecodeHtmlEntities - Decode HTML entities in strings River stage one • 2 direct dependents • 2 total dependents

Twitter has trust issues. They assume you're going to push the text you receive in API responses to a web page without HTML encoding it. But you HTML encode all of your output right? And Twitter's lack of trust has you double encoding entities. So, i...

MMIMS/Twitter-API-1.0005 - 02 Oct 2018 17:46:45 GMT

13 results (0.027 seconds)