MobilOyuncu SDK v1.0.0

SDK Integration

Connect your game to MobilOyuncu with a standard SDK.

  • ✓ Add the central MobilOyuncu SDK file to your game's HTML.
  • ✓ Report starts, levels, scores and other game events when they happen.
  • ✓ Add the SDK to your game once. When the game is published on another site with a MobilOyuncu embed code, the same integration works automatically; the publisher does not need to add the SDK again.
</>MobilOyuncu SDKv1.0.0
<script src="https://www.mobiloyuncu.com/sdk/v1/mobiloyuncu-sdk.js"></script>
<script>
MobilOyuncu.init({
  gameId: 123,
  key: "YOUR_GAME_KEY"
});
</script>

SDK Integration

Connect your game to MobilOyuncu with a standard SDK.

1

Add the SDK file

Add the central MobilOyuncu SDK file to your game's HTML.

2

Initialize your game

Start the SDK with the Game ID and integration key shown for this game.

3

Send game events

Report starts, levels, scores and other game events when they happen.

Send game events

Report starts, levels, scores and other game events when they happen.

MobilOyuncu.game.start()MobilOyuncu.game.pause()MobilOyuncu.game.resume()MobilOyuncu.game.end()MobilOyuncu.game.level('level_1')MobilOyuncu.score.submit(1250)MobilOyuncu.event('custom_event')

Embed code

Add the SDK to your game once. When the game is published on another site with a MobilOyuncu embed code, the same integration works automatically; the publisher does not need to add the SDK again.

Integration key

This browser-side key identifies your game. It is not a secret or payment credential.

Privacy and security

Do not send names, emails, passwords, tokens or other personal data in custom SDK events.

Advertising API — next stage

Interstitial ads, rewarded ads and possible developer revenue sharing will be added later with signed server validation.

MobilOyuncu SDK

Initialize your game

Start the SDK with the Game ID and integration key shown for this game.

Developer Dashboard →