Examples of integrating the Playgama game catalog into iOS and Android mobile apps.
The games.json file in this repository is for demonstration only!
To earn revenue from ads, download the catalog with your CLID:
- Go to widgets.playgama.com
- Sign up or log in to your account
- Select the games you want or download the entire catalog
- Click Download JSON
The downloaded catalog contains your unique identifier in each game:
{
"gameURL": "https://playgama.com/export/game/puzzle?clid=p_YOUR_UNIQUE_ID"
}CLID is required for:
- 💰 Calculating your ad revenue
- 📊 Tracking statistics
- 💵 Receiving payouts in the partner program
sdk-embed/
├── README.md # This file
├── games.json # Sample catalog (replace with yours!)
│
├── ios/ # 🍎 iOS (Swift/SwiftUI)
│ ├── README.md # iOS instructions
│ ├── PlaygamaGames.xcodeproj/
│ └── PlaygamaGames/
│ ├── Models/
│ ├── Services/
│ └── Views/
│
└── android/ # 🤖 Android (Kotlin)
├── README.md # Android instructions
└── app/
└── src/main/
├── assets/games.json
├── java/.../
└── res/
- Open
ios/PlaygamaGames.xcodeprojin Xcode - Replace
games.jsonwith your own (containing your CLID) - Select a simulator → Run
▶️
Details: ios/README.md
- Open the
android/folder in Android Studio - Replace
app/src/main/assets/games.jsonwith your own - Sync Gradle → Run
▶️
Details: android/README.md
┌─────────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ games.json │────▶│ Your App │────▶│ WebView │
│ (catalog) │ │ (native UI) │ │ (game launch) │
└─────────────────┘ └──────────────────┘ └─────────────────┘
│
▼
┌─────────────────┐
│ Playgama │
│ (ads → │
│ your revenue) │
└─────────────────┘
- Catalog (
games.json) — list of games with metadata and URLs - Native UI — your app displays the game list
- WebView — selected game opens in WebView
- Ads — games show ads, revenue goes to you (via CLID)
- Documentation: wiki.playgama.com
- Email: partners@playgama.com
Code examples are provided as-is for integrating Playgama games.




