How to Integrate a Game

How to Integrate a Game

  • Quick Integration
  • Complete Integration
  • The Platform
  • Help

›2. Login Guide

Complete Guide Overview

  • Complete Guide Overview

1. Panel Guide

  • 1.0. Panel Access
  • 1.1. Create a new game
  • 1.2. Game Configuration
  • 1.3. Shop

    • Shop introduction
    • 1.3.1. Shop Wizard
    • 1.3.2. Shop Offers
    • 1.3.3. Shop Coupons
    • 1.3.4. Shop Themes
    • 1.3.5. Test shop
  • 1.4. Multi-Language
  • 1.5. Releases
  • 1.6. DLCs
  • 1.7. Store Content
  • 1.8. Content
  • 1.9. WebSection
  • 1.10 Purchase Report

    • 1.10.1. Dashboard
    • 1.10.2 Client & App
    • 1.10.3 Gamer Level
    • 1.10.4 Region & Country
    • 1.10.5 Purchase Notifications
    • 1.10.6 Sales Wallet
    • 1.10.7 Player Summary

    1.11 Stats Report

    • 1.11.1. Leads
    • 1.11.2. Retention
    • 1.11.4. Login
    • 1.11.4. Payment
    • 1.11.5. Wishlist

2. Login Guide

  • 2.0. Login overview
  • 2.1. Login with Unity
  • 2.2. Login with C#
  • 2.3. Login with C++/Unreal
  • 2.4. Login with HTTP
  • 2.5. Login with Web Service Definition Language (WSDL)

3. Payments Guide

  • 3.0. First of All
  • 3.1. Payments Integration

4. API Guide

    Releases API

    • Releases Workflow
    • C# example

Glossary

  • Glossary

2.4. Login with HTTP

Example of login with HTTP

https://www.idcgames.com/unilogin/getAccessData.php?

Parameters of the request

  • &idctk is obtained from idctk parameter
  • &idcgameid unique game identifierobetained from idcgameid parameter
  • &idcuuid obtained from idcuuid parameter

Parameters of the answer

PARAMETER NAME DESCRIPTION
result Values: 0 (OK) or 1 (USER INVALID)
userid User identifier within the IDC Games platform
usercrc for security reasons we add a CRC that always will match the userid, it can be used to avoid man-in-the-middle securiy problems.
language 2 letters that indicate the language of the user (ISO 639-1)
country 2 letters that indicates the country code (ISO 3166-1)
currency 3 letters indicating the curreny that the user has used to buy in the platfotm (ISO-4217)

Example of the request

https://www.idcgames.com/unilogin/getAccessData.php? idctk=6ae4e9d12e76438eb41955c09c9369ef&idcgameid=999&idcuuid=6022DAAE-03F7-11E9-BB88-E86A6485A3C7

Example of the answer

{"status":0,"description":"LOGIN OK","user":{"userid":19833”, "usercrc":"c0c16dbf26478896b9a76b01670247fa", "language":"es", "country":"ES", "currency":"}}

Request extra info about users in HTTP

https://www.idcgames.com/unilogin/getUserProfileInfo.php?

Parameters of the request:

  • &userid
  • &apisecret with the following values: 0 (OK) or 1 (USER INVALID)
  • nick: user's nick
  • email: user's email address, of provided
  • avatar: URL to the user's avatar's image
  • status: conexion status of the user: online, offline, etc.
  • custom: custom user's status message
← 2.3. Login with C++/Unreal2.5. Login with Web Service Definition Language (WSDL) →
  • Example of login with HTTP
  • Example of the request
  • Example of the answer
  • Request extra info about users in HTTP
How to Integrate a Game
All Documentation
How to integrate a game at idcgames.comComing soon
Facebook Open Source
Copyright © 2021 IDC/Games S.L.