Ben Klaas > Blitz-0.01 > Blitz::API

Download:
Blitz-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  0
View/Report Bugs
Source  

NAME ^

Blitz::API - Perl module for API access to Blitz

SUBROUTINES/METHODS ^

client

Create a blitz client object for executing sprints or rushes

Required parameters are credentials (email address and api-key)

See http://blitz.io for information regarding the api key.

status

status is a get/set method for the current status of a running exercise

_decode_response

Decodes the JSON result object from Blitz Decodes base64 response in content areas of request and response

login

Sends the RESTful login request to blitz.io servers When correctly executed, response contains a second api key that maintains authentication permission for running tests.

job_id

Get/set method for the job_id attached to a given client object

job_status

Sends RESTful request for job status of a given (known) job_id Sets status of the job in the client object after response is returned

start_job

Executes an exercise (sprint or rush) on blitz.io

When this method runs successfully, job_id is returned and the progress of the job can be queried with job_status()

syntax highlighting: