SailBlogs API

From SailBlogs Support Wiki
Revision as of 11:16, 19 January 2010 by Tharincar (talk | contribs) (Class Reference)

Jump to: navigation, search

The SailBlogs API provides a way for advanced users and developers to integrate SailBlogs information into external websites running PHP. This is handled by calling various programs on the SailBlogs server which returns an XML response.

Requirements

API Key

To use the API a developer must request an API key. Contact SailBlogs to request a key.

Premium Account

Only SailBlogs Premium Memberships can be accessed via the API.

PHP 5.0 or Greater

The SailBlogs-developed API Class, which automates much of the API calls to the server, requires PHP 5 or greater.

Support

Limited support is available for the API, and only via email.

PHP Class Reference

A PHP class (PHP 5 or greater) is available that simplifies some of the API interactions for developers. The Class includes the following properties and functions:

Properties

  • apiKey
  • blogDirName
  • blogID
  • cache
  • cacheLoc
  • cacheFile
  • cacheTime

Functions

The following functions are available in the API Class.