Table of Contents

API Cookbook

Practical recipes for common Collection API tasks. For full parameter reference, see Collection API Reference.

All examples use the endpoint: https://wherewelearn.com/api/apic.php

Contents

The Golden Rule

Always call f=meta first when working with a collection you haven't used before. It returns the complete schema, all view IDs, all action IDs, and usage templates in one response. Everything you need to start working is in that single payload — no guessing column names.

curl -s -k -X POST "https://wherewelearn.com/api/apic.php" \
  -d "u=APIUSER&k=APIKEY&r=COLLECTIONREF&g=VIEWID&f=meta"