NAME

WebService::Flattr::Response - Handles responses from WebService::Flattr

VERSION

version 0.55

DESCRIPTION

This module provides objects describing responses from Flattr's social micro-payments API generated by WebService::Flattr.

METHODS

data

This returns a data structure deserialised from the JSON part of the response as defined by Flattr's API.

http_response

This returns an HTTP::Response object.

rate_limit

This returns the number of rate limited requests per hour as defined by the X-RateLimit-Limit header at http://developers.flattr.net/api/#rate-limiting.

limit_remaining

This returns the number of rate limited requests remaining as defined by the X-RateLimit-Remaining header at http://developers.flattr.net/api/#rate-limiting.

limit_reset

This returns a Unix timestamp defining when Flattr will reset your rate limit. Flattr do not specify the timezone used by this field.

SEE ALSO

WebService::Flattr

AUTHOR

Tom Hukins