ivan-adaptemy commited on
Commit
10003ae
·
1 Parent(s): e63a030

with prod in

Browse files
Files changed (2) hide show
  1. content_objects.json +13 -13
  2. utils.py +3 -3
content_objects.json CHANGED
@@ -8,7 +8,7 @@
8
  "concept": [
9
  "a07327c4-d7b7-43e5-1291-5d675c2fffd9"
10
  ],
11
- "id": "https://api.adaptemy.io/content/c11d147d-555a-4a60-af6d-da34310e442c"
12
  },
13
  "introduction": {
14
  "description": "Introduction to the XR learning course and overview of the virtual learning environment.",
@@ -19,7 +19,7 @@
19
  "concept": [
20
  "6ad48928-83dc-e6f9-38d7-aea256392eed"
21
  ],
22
- "id": "https://api.adaptemy.io/content/934719ee-94be-4a18-95ed-615b0257985b"
23
  },
24
  "mercury-1": {
25
  "description": "The Mercury scene is initiated, allowing learners to enter the virtual environment representing Mercury.",
@@ -30,7 +30,7 @@
30
  "concept": [
31
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
32
  ],
33
- "id": "https://api.adaptemy.io/content/089683b7-90d7-4f4b-bfa4-266413c462c2"
34
  },
35
  "mercury-2": {
36
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 1: temperature change.",
@@ -41,7 +41,7 @@
41
  "concept": [
42
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
43
  ],
44
- "id": "https://api.adaptemy.io/content/bd5bccb7-fa3d-4879-ad62-fe0a6a9ea007"
45
  },
46
  "mercury-3": {
47
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 2: grab and texture.",
@@ -52,7 +52,7 @@
52
  "concept": [
53
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
54
  ],
55
- "id": "https://api.adaptemy.io/content/eebaf99b-0687-4097-8846-366fb93e8b5e"
56
  },
57
  "mercury-4": {
58
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 3.1: search Caloris Planitia.",
@@ -63,7 +63,7 @@
63
  "concept": [
64
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
65
  ],
66
- "id": "https://api.adaptemy.io/content/247a62f2-13f5-4d7d-aa7f-67d6085877b3"
67
  },
68
  "mercury-5": {
69
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 3.2: feel Caloris Planitia ",
@@ -74,7 +74,7 @@
74
  "concept": [
75
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
76
  ],
77
- "id": "https://api.adaptemy.io/content/213ffc96-4f9e-4506-9a18-dc610019f0c4"
78
  },
79
  "sun-1": {
80
  "description": "The Sun scene is initiated, allowing learners to enter the virtual environment representing the Sun.",
@@ -85,7 +85,7 @@
85
  "concept": [
86
  "09880a08-6a03-0490-618a-3bcfde92cddc"
87
  ],
88
- "id": "https://api.adaptemy.io/content/902a450e-4204-4cb9-9e2f-6242a4eb8728"
89
  },
90
  "sun-2": {
91
  "description": "A video sequence of the Sun is presented to illustrate key visual characteristics and solar phenomena.",
@@ -96,7 +96,7 @@
96
  "concept": [
97
  "09880a08-6a03-0490-618a-3bcfde92cddc"
98
  ],
99
- "id": "https://api.adaptemy.io/content/11ce68bf-eece-4986-9749-f7cd992df4f1"
100
  },
101
  "sun-3": {
102
  "description": "A radiative lamp is used to simulate the Sun's radiative heat, helping learners understand the Sun's radiative properties through a sensory XR experience.",
@@ -107,7 +107,7 @@
107
  "concept": [
108
  "09880a08-6a03-0490-618a-3bcfde92cddc"
109
  ],
110
- "id": "https://api.adaptemy.io/content/aa4edf8f-ad60-4ffa-9d66-fce4af6f46b4"
111
  },
112
  "mars-1": {
113
  "description": "The Mars scene is initiated, enabling learners to explore the Martian environment in VR.",
@@ -118,7 +118,7 @@
118
  "concept": [
119
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
120
  ],
121
- "id": "https://api.adaptemy.io/content/52016670-35e7-40a7-a765-a2f703c93296"
122
  },
123
  "mars-2": {
124
  "description": "The visual environment transitions to a detailed view of the Martian surface.",
@@ -129,7 +129,7 @@
129
  "concept": [
130
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
131
  ],
132
- "id": "https://api.adaptemy.io/content/06cb516d-d5b9-4fe7-8d6e-ef12d65069ed"
133
  },
134
  "mars-3": {
135
  "description": "A scent diffuser releases simulated atmospheric scents to represent the air composition of the Martian surface.",
@@ -140,6 +140,6 @@
140
  "concept": [
141
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
142
  ],
143
- "id": "https://api.adaptemy.io/content/f60a50ad-739e-4533-b547-83be280c444a"
144
  }
145
  }
 
8
  "concept": [
9
  "a07327c4-d7b7-43e5-1291-5d675c2fffd9"
10
  ],
11
+ "id": "https://api.adaptemy.io/content/38c5c38b-e41a-4b81-8b5e-d549f2f49c00"
12
  },
13
  "introduction": {
14
  "description": "Introduction to the XR learning course and overview of the virtual learning environment.",
 
19
  "concept": [
20
  "6ad48928-83dc-e6f9-38d7-aea256392eed"
21
  ],
22
+ "id": "https://api.adaptemy.io/content/5f2523f6-ce37-4914-a088-ffd925db9bb7"
23
  },
24
  "mercury-1": {
25
  "description": "The Mercury scene is initiated, allowing learners to enter the virtual environment representing Mercury.",
 
30
  "concept": [
31
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
32
  ],
33
+ "id": "https://api.adaptemy.io/content/265c013f-168a-40be-adb9-583fcb4a880f"
34
  },
35
  "mercury-2": {
36
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 1: temperature change.",
 
41
  "concept": [
42
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
43
  ],
44
+ "id": "https://api.adaptemy.io/content/a9940602-957b-40a0-9bfb-8aa07e68cddc"
45
  },
46
  "mercury-3": {
47
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 2: grab and texture.",
 
52
  "concept": [
53
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
54
  ],
55
+ "id": "https://api.adaptemy.io/content/da7fab0c-faf5-45ed-8181-458c6b57fcf7"
56
  },
57
  "mercury-4": {
58
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 3.1: search Caloris Planitia.",
 
63
  "concept": [
64
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
65
  ],
66
+ "id": "https://api.adaptemy.io/content/f1e37527-4781-4823-958a-0d5659df6301"
67
  },
68
  "mercury-5": {
69
  "description": "Learners interact with the surface of Mercury using tactile gloves to experience the planet's surface features through haptic feedback - Phase 3.2: feel Caloris Planitia ",
 
74
  "concept": [
75
  "37a74d74-7e48-9b7b-574a-823b62ac1c0c"
76
  ],
77
+ "id": "https://api.adaptemy.io/content/62622588-bfa8-48db-86fd-b175e932b6ff"
78
  },
79
  "sun-1": {
80
  "description": "The Sun scene is initiated, allowing learners to enter the virtual environment representing the Sun.",
 
85
  "concept": [
86
  "09880a08-6a03-0490-618a-3bcfde92cddc"
87
  ],
88
+ "id": "https://api.adaptemy.io/content/22240496-22cc-4078-961b-c935fb56403f"
89
  },
90
  "sun-2": {
91
  "description": "A video sequence of the Sun is presented to illustrate key visual characteristics and solar phenomena.",
 
96
  "concept": [
97
  "09880a08-6a03-0490-618a-3bcfde92cddc"
98
  ],
99
+ "id": "https://api.adaptemy.io/content/ea7d8f11-9c62-4ade-bc7f-3e3d9c68da33"
100
  },
101
  "sun-3": {
102
  "description": "A radiative lamp is used to simulate the Sun's radiative heat, helping learners understand the Sun's radiative properties through a sensory XR experience.",
 
107
  "concept": [
108
  "09880a08-6a03-0490-618a-3bcfde92cddc"
109
  ],
110
+ "id": "https://api.adaptemy.io/content/5556e260-28b6-470c-9745-8bd50f062ede"
111
  },
112
  "mars-1": {
113
  "description": "The Mars scene is initiated, enabling learners to explore the Martian environment in VR.",
 
118
  "concept": [
119
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
120
  ],
121
+ "id": "https://api.adaptemy.io/content/e4de97a2-6cd8-4f89-b3be-7bca6fce83b1"
122
  },
123
  "mars-2": {
124
  "description": "The visual environment transitions to a detailed view of the Martian surface.",
 
129
  "concept": [
130
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
131
  ],
132
+ "id": "https://api.adaptemy.io/content/5137df82-c38d-49c1-9cf6-8acb37244ea8"
133
  },
134
  "mars-3": {
135
  "description": "A scent diffuser releases simulated atmospheric scents to represent the air composition of the Martian surface.",
 
140
  "concept": [
141
  "7e9e46a0-f3ac-109c-c22a-fa008f65ffdb"
142
  ],
143
+ "id": "https://api.adaptemy.io/content/0d0f2b42-0fb4-4c2a-9d0d-3c6c2f2fed0f"
144
  }
145
  }
utils.py CHANGED
@@ -3,9 +3,9 @@ import os
3
  import requests
4
  import uuid
5
 
6
- ACTIVE_MODE = False
7
- CONTENT_OBJECTS_ENDPOINT = "https://api-dev-demo-app.adaptemy.io/content-objects"
8
- LEARN_ENDPOINT = "https://api-dev-demo-app.adaptemy.io/learn"
9
  DEFAULT_BEARER_TOKEN = "*****"
10
 
11
 
 
3
  import requests
4
  import uuid
5
 
6
+ ACTIVE_MODE = True
7
+ LEARN_ENDPOINT = "https://api-sg-demo.adaptemy.io/learn"
8
+ CONTENT_OBJECTS_ENDPOINT = "https://api-sg-demo.adaptemy.io/content-objects"
9
  DEFAULT_BEARER_TOKEN = "*****"
10
 
11