Happy !

francois / AzureStorage

Project infos

License MIT
Tags api, azure, cloud, rest
Creation date 2014-06-06
Website

Monticello registration

About AzureStorage

Azure Storage Library

This library lets you interact with Azure Storage from Pharo. It is built on top of Zinc and currently implements the Azure Storage Queue service.

Installation

Gofer new
   smalltalkhubUser: 'francois' project: 'AzureStorage';
   configurationOf: 'Azure';
   loadDevelopment.

Queue

See the class comment of AZQueueService for a complete description of the service. In a nutshell:

authenticationKey := AZSharedKeyAuth new
    accountName: 'pharotesting';
    accessKey: 'accessKey'. 

queueService := AZQueueService new
  authenticationKey: authenticationKey.

queueService listQueues.
queueService createQueue: 'jobs'.

queueService putMessage: 'My first message on Azure queue' onQueue: 'jobs'.
queueService getMessageFromQueue: 'jobs'.
queueService deleteQueue: 'jobs'.