Advertisement
Guest User

Untitled

a guest
Apr 27th, 2016
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.75 KB | None | 0 0
  1. <?php
  2. echo '{   "session": {     "sessionkey": "DhZUxAPjDFQqwCy65z2JQKB145750y",     "lastlogintime": 1461290246,     "ispremium": true,     "premiumuntil": 1463788913,     "status": "active"   },   "playdata": {     "worlds": [       {         "id": 0,         "name": "Amera",         "externaladdress": "66.150.54.19",         "externalport": 7171,         "previewstate": 0       },       {         "id": 1,         "name": "Chrona",         "externaladdress": "193.200.156.112",         "externalport": 7171,         "previewstate": 0       },       {         "id": 2,         "name": "Eldera",         "externaladdress": "66.150.54.94",         "externalport": 7171,         "previewstate": 0       }     ],     "characters": [       {         "worldid": 0,         "name": "Paladin"       },       {         "worldid": 1,         "name": "Sorcerer"       },       {         "worldid": 2,         "name": "Druid"       }     ]   },   "survey": {     "id": 759822,     "invitationtext": "Dear Tibian! A few days ago, you have received an email invitation to join the Beta phase of Tibia 11. We\'d love to hear about your experiences with client version 11.0 so please help us with your feedback by completing this survey.",     "invitationtoken": "9ILillainoj7CsWxxoCRgOqSnGtt3L",     "endtimestamp": 1461535200   } }';
  3. /*
  4. example json
  5. {
  6.   "session": {
  7.     "sessionkey": "DhZUxAPjDFQqwCy65z2JQKB145750y",
  8.     "lastlogintime": 1461290246,
  9.     "ispremium": true,
  10.     "premiumuntil": 1463788913,
  11.     "status": "active"
  12.   },
  13.   "playdata": {
  14.     //an array/list of worlds and theirs data
  15.     "worlds": [
  16.       {
  17.         "id": 0,
  18.         "name": "Amera",
  19.         "externaladdress": "66.150.54.19",
  20.         "externalport": 7171,
  21.         "previewstate": 0
  22.       },
  23.       {
  24.         "id": 1,
  25.         "name": "Chrona",
  26.         "externaladdress": "193.200.156.112",
  27.         "externalport": 7171,
  28.         "previewstate": 0
  29.       },
  30.       {
  31.         "id": 2,
  32.         "name": "Eldera",
  33.         "externaladdress": "66.150.54.94",
  34.         "externalport": 7171,
  35.         "previewstate": 0
  36.       }
  37.     ],
  38.     "characters": [
  39.       {
  40.         "worldid": 0,
  41.         "name": "Paladin"
  42.       },
  43.       {
  44.         "worldid": 1,
  45.         "name": "Sorcerer"
  46.       },
  47.       {
  48.         "worldid": 2,
  49.         "name": "Druid"
  50.       }
  51.     ]
  52.   },
  53.   //i believe this can just be removed, not needed
  54.   "survey": {
  55.     "id": 759822,
  56.     "invitationtext": "Dear Tibian! A few days ago, you have received an email invitation to join the Beta phase of Tibia 11. We'd love to hear about your experiences with client version 11.0 so please help us with your feedback by completing this survey.",
  57.     "invitationtoken": "9ILillainoj7CsWxxoCRgOqSnGtt3L",
  58.     "endtimestamp": 1461535200
  59.   }
  60. }
  61. */
  62. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement