Getting Started with GetJar
Welcome to GetJar! This guide will help you get started with integrating GetJar's gaming platform APIs into your applications.
What is GetJar?
GetJar is a comprehensive gaming platform that provides everything you need to build, monetize, and grow your games. Our APIs handle:
- User Management: Authentication, profiles, and currency management
- Achievements & Leaderboards: Gamification and competition
- Session Tracking: Analytics and user engagement
- App Streaks: Daily engagement tracking with multipliers
- Advertising: Banner ad integration and management
Quick Start
1. Installation
Install the GetJar SDK using npm or yarn:
npm install @getjar-iap/sdk
yarn add @getjar-iap/sdk
2. Get Your API Key
- Sign up for a GetJar account at https://getjar.com
- Copy your API key from dashboard
3. Initialize the SDK
import { Configuration } from "@getjar-iap/sdk";
const configuration = new Configuration({
basePath: "https://sdk-new.getjar.com",
baseOptions: {
headers: {
"x-api-key": "your-api-key-here",
},
},
});