Code Examples

Snapt API code examples and bundles

XmlRpc API

The Snapt API plugin provides a free and complete XmlRpc API to Snapt.

PHP Example Pack

A full set of working examples in PHP which can be run from the command line, including cache purging, balancer control, and more.

Download
Python Example

An example of sending a stats request to the Balancer for Python2

Download
Ruby Example

An example of sending a stats request to the Balancer for Ruby

Download