You are here

How to use the Sites API

This tutorial describes how to enumerate sites, find favourites, join and leave sites, check for pending requests, and other site related operations.

In this tutorial you will learn how to use the Site service and Site model. This tutorial is divided up into several tasks:

  1. Learn the basics of using the Site service and Site model.
  2. Learn how to join and leave sites, and cancel join requests.
  3. Add a simple GUI to make working with sites more easily.
  4. Extend the GUI to include dynamically created buttons for performing relevant site operations.

In particular this tutorial is designed to introduce you to new support for Sites that was added in the 1.1 version of the SDK.