Add products example master codeberg/master
authorChristian Weiske <cweiske@cweiske.de>
Thu, 5 Jun 2025 16:41:02 +0000 (18:41 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Thu, 5 Jun 2025 16:41:02 +0000 (18:41 +0200)
Related: https://codeberg.org/gamestick-fans/pjgsapi/issues/9

api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.json [new file with mode: 0644]
api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.pretty.json [new file with mode: 0644]

diff --git a/api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.json b/api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.json
new file mode 100644 (file)
index 0000000..53b2d65
--- /dev/null
@@ -0,0 +1 @@
+{"sid":"121AD6B8E376004662C5A2D06670BD81","body":{"success":true,"message":null,"action":"getproducts","products":[{"id":94,"name":"5000 Nuts","description":"5000 Nuts","url":"","cost":2.00,"currency":"GBP"},{"id":95,"name":"9000 Nuts","description":"9000 Nuts","url":"","cost":4.00,"currency":"GBP"},{"id":96,"name":"20000 Nuts","description":"20000 Nuts","url":"","cost":8.00,"currency":"GBP"},{"id":97,"name":"10 dollars","description":"10 dollars","url":"","cost":1.00,"currency":"GBP"},{"id":98,"name":"18 dollars","description":"18 dollars","url":"","cost":2.00,"currency":"GBP"},{"id":99,"name":"40 dollars","description":"40 dollars","url":"","cost":3.00,"currency":"GBP"},{"id":100,"name":"100 Permits","description":"100 Permits","url":"","cost":2.00,"currency":"GBP"},{"id":101,"name":"Unlimited Permits","description":"Unlimited Permits","url":"","cost":9.99,"currency":"GBP"},{"id":102,"name":"Stigs Doubler","description":"Stigs Doubler","url":"","cost":5.00,"currency":"GBP"},{"id":103,"name":"Hire The Stig","description":"Hire The Stig","url":"","cost":5.00,"currency":"GBP"},{"id":131,"name":"50000 Nuts","description":"50000 Nuts","url":"","cost":20.00,"currency":"GBP"},{"id":132,"name":"150000 Nuts","description":"150000 Nuts","url":"","cost":50.00,"currency":"GBP"},{"id":133,"name":"100 dollars","description":"100 dollars","url":"","cost":33.00,"currency":"GBP"},{"id":134,"name":"300 dollars","description":"300 dollars","url":"","cost":55.00,"currency":"GBP"}]},"time":"1413746212976","lastaccessed":1413746120047,"x-forwarded-for":null,"created":1413735326677,"accessCount":211,"addr":"10.37.137.31","remoteaddr":"86.132.244.43"}
\ No newline at end of file
diff --git a/api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.pretty.json b/api/l2.gamestickservices.net/api-rest-game-xxx-products.real-response1.pretty.json
new file mode 100644 (file)
index 0000000..c80017f
--- /dev/null
@@ -0,0 +1,129 @@
+{
+  "sid": "121AD6B8E376004662C5A2D06670BD81",
+  "body": {
+    "success": true,
+    "message": null,
+    "action": "getproducts",
+    "products": [
+      {
+        "id": 94,
+        "name": "5000 Nuts",
+        "description": "5000 Nuts",
+        "url": "",
+        "cost": 2.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 95,
+        "name": "9000 Nuts",
+        "description": "9000 Nuts",
+        "url": "",
+        "cost": 4.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 96,
+        "name": "20000 Nuts",
+        "description": "20000 Nuts",
+        "url": "",
+        "cost": 8.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 97,
+        "name": "10 dollars",
+        "description": "10 dollars",
+        "url": "",
+        "cost": 1.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 98,
+        "name": "18 dollars",
+        "description": "18 dollars",
+        "url": "",
+        "cost": 2.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 99,
+        "name": "40 dollars",
+        "description": "40 dollars",
+        "url": "",
+        "cost": 3.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 100,
+        "name": "100 Permits",
+        "description": "100 Permits",
+        "url": "",
+        "cost": 2.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 101,
+        "name": "Unlimited Permits",
+        "description": "Unlimited Permits",
+        "url": "",
+        "cost": 9.99,
+        "currency": "GBP"
+      },
+      {
+        "id": 102,
+        "name": "Stigs Doubler",
+        "description": "Stigs Doubler",
+        "url": "",
+        "cost": 5.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 103,
+        "name": "Hire The Stig",
+        "description": "Hire The Stig",
+        "url": "",
+        "cost": 5.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 131,
+        "name": "50000 Nuts",
+        "description": "50000 Nuts",
+        "url": "",
+        "cost": 20.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 132,
+        "name": "150000 Nuts",
+        "description": "150000 Nuts",
+        "url": "",
+        "cost": 50.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 133,
+        "name": "100 dollars",
+        "description": "100 dollars",
+        "url": "",
+        "cost": 33.00,
+        "currency": "GBP"
+      },
+      {
+        "id": 134,
+        "name": "300 dollars",
+        "description": "300 dollars",
+        "url": "",
+        "cost": 55.00,
+        "currency": "GBP"
+      }
+    ]
+  },
+  "time": "1413746212976",
+  "lastaccessed": 1413746120047,
+  "x-forwarded-for": null,
+  "created": 1413735326677,
+  "accessCount": 211,
+  "addr": "10.37.137.31",
+  "remoteaddr": "86.132.244.43"
+}