Get started

This guide is intended for developers who want to use the GameSnacks Partner API to get games for their game centers. This guide assumes that you're familiar with web programming concepts and web data formats.

Prerequisites

Before you can start, there are a few things you need to do:

Quick start tutorial

Follow these steps to register your application:

  1. Sign in to the Google Cloud console.
  2. Select or create a project.
  3. Allowlist your Google Cloud project and your email as described below.
  4. In the API Library, find and select "GameSnacks Partner API".
  5. Click APIs & Services > Credentials.
  6. Click CREATE CREDENTIALS > API key.
  7. Use the API key to make an HTTP call. Note, if you skip this step, you will get a 403 PERMISSION_DENIED error when you try to make the API call.

    HTTP call example:
    https://gamesnackspartner.googleapis.com/v1/accounts/${ACCOUNT_ID}/gamecenters/${GAME_CENTER_ID}/games?key=${API_KEY}

    Where:

    • ACCOUNT_ID is your GameSnacks account ID.
    • GAME_CENTER_ID is your game center ID.
    • API_KEY is the API key you generated at step 5.

    To retrieve the ACCOUNT_ID and GAME_CENTER_ID see create a game center.

Allowlist your Google Cloud project

To use the GameSnacks Partner API you must allowlist your Google Cloud project and your email. To do this, complete the GameSnacks interest form.