Soujanya Buragapu vor 6 Jahren
Ursprung
Commit
5c89213218
7 geänderte Dateien mit 264 neuen und 1 gelöschten Zeilen
  1. 9
    0
      .idea/JSON-Lab-2.iml
  2. 6
    0
      .idea/misc.xml
  3. 8
    0
      .idea/modules.xml
  4. 6
    0
      .idea/vcs.xml
  5. 205
    0
      .idea/workspace.xml
  6. 1
    1
      index.html
  7. 29
    0
      index.js

+ 9
- 0
.idea/JSON-Lab-2.iml Datei anzeigen

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<module type="JAVA_MODULE" version="4">
3
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+    <exclude-output />
5
+    <content url="file://$MODULE_DIR$" />
6
+    <orderEntry type="inheritedJdk" />
7
+    <orderEntry type="sourceFolder" forTests="false" />
8
+  </component>
9
+</module>

+ 6
- 0
.idea/misc.xml Datei anzeigen

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="JavaScriptSettings">
4
+    <option name="languageLevel" value="ES6" />
5
+  </component>
6
+</project>

+ 8
- 0
.idea/modules.xml Datei anzeigen

@@ -0,0 +1,8 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ProjectModuleManager">
4
+    <modules>
5
+      <module fileurl="file://$PROJECT_DIR$/.idea/JSON-Lab-2.iml" filepath="$PROJECT_DIR$/.idea/JSON-Lab-2.iml" />
6
+    </modules>
7
+  </component>
8
+</project>

+ 6
- 0
.idea/vcs.xml Datei anzeigen

@@ -0,0 +1,6 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="VcsDirectoryMappings">
4
+    <mapping directory="" vcs="Git" />
5
+  </component>
6
+</project>

+ 205
- 0
.idea/workspace.xml Datei anzeigen

@@ -0,0 +1,205 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<project version="4">
3
+  <component name="ChangeListManager">
4
+    <list default="true" id="8c6509ac-7f8b-4a34-bafd-26b30711df73" name="Default Changelist" comment="" />
5
+    <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
6
+    <option name="SHOW_DIALOG" value="false" />
7
+    <option name="HIGHLIGHT_CONFLICTS" value="true" />
8
+    <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
9
+    <option name="LAST_RESOLUTION" value="IGNORE" />
10
+  </component>
11
+  <component name="FUSProjectUsageTrigger">
12
+    <session id="253863183">
13
+      <usages-collector id="statistics.lifecycle.project">
14
+        <counts>
15
+          <entry key="project.closed" value="2" />
16
+          <entry key="project.open.time.0" value="2" />
17
+          <entry key="project.opened" value="2" />
18
+        </counts>
19
+      </usages-collector>
20
+    </session>
21
+  </component>
22
+  <component name="Git.Settings">
23
+    <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
24
+  </component>
25
+  <component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
26
+  <component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
27
+  <component name="JsGulpfileManager">
28
+    <detection-done>true</detection-done>
29
+    <sorting>DEFINITION_ORDER</sorting>
30
+  </component>
31
+  <component name="ProjectFrameBounds">
32
+    <option name="y" value="23" />
33
+    <option name="width" value="1280" />
34
+    <option name="height" value="723" />
35
+  </component>
36
+  <component name="ProjectView">
37
+    <navigator proportions="" version="1">
38
+      <foldersAlwaysOnTop value="true" />
39
+    </navigator>
40
+    <panes>
41
+      <pane id="ProjectPane">
42
+        <subPane>
43
+          <expand>
44
+            <path>
45
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
46
+              <item name="JSON-Lab-2" type="462c0819:PsiDirectoryNode" />
47
+            </path>
48
+            <path>
49
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
50
+              <item name="JSON-Lab-2" type="462c0819:PsiDirectoryNode" />
51
+              <item name=".idea" type="462c0819:PsiDirectoryNode" />
52
+            </path>
53
+            <path>
54
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
55
+              <item name="JSON-Lab-2" type="462c0819:PsiDirectoryNode" />
56
+              <item name="css" type="462c0819:PsiDirectoryNode" />
57
+            </path>
58
+            <path>
59
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
60
+              <item name="JSON-Lab-2" type="462c0819:PsiDirectoryNode" />
61
+              <item name="images" type="462c0819:PsiDirectoryNode" />
62
+            </path>
63
+            <path>
64
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
65
+              <item name="JSON-Lab-2" type="462c0819:PsiDirectoryNode" />
66
+              <item name="images" type="462c0819:PsiDirectoryNode" />
67
+              <item name="logos" type="462c0819:PsiDirectoryNode" />
68
+            </path>
69
+            <path>
70
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
71
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
72
+            </path>
73
+            <path>
74
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
75
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
76
+              <item name="Extensions" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
77
+            </path>
78
+            <path>
79
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
80
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
81
+              <item name="Extensions" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
82
+              <item name="com.intellij.database" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
83
+            </path>
84
+            <path>
85
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
86
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
87
+              <item name="Extensions" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
88
+              <item name="com.intellij.database" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
89
+              <item name="data" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
90
+            </path>
91
+            <path>
92
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
93
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
94
+              <item name="Extensions" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
95
+              <item name="com.intellij.database" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
96
+              <item name="data" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
97
+              <item name="extractors" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
98
+            </path>
99
+            <path>
100
+              <item name="JSON-Lab-2" type="b2602c69:ProjectViewProjectNode" />
101
+              <item name="Scratches and Consoles" type="1a2a3e82:ScratchProjectViewPane$MyProjectNode" />
102
+              <item name="Extensions" type="d62648e6:ScratchProjectViewPane$MyRootNode" />
103
+              <item name="com.intellij.database" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
104
+              <item name="schema" type="1e004dc1:ScratchProjectViewPane$MyRootNode$1$1" />
105
+            </path>
106
+          </expand>
107
+          <select />
108
+        </subPane>
109
+      </pane>
110
+      <pane id="PackagesPane" />
111
+      <pane id="Scope" />
112
+    </panes>
113
+  </component>
114
+  <component name="PropertiesComponent">
115
+    <property name="WebServerToolWindowFactoryState" value="false" />
116
+    <property name="aspect.path.notification.shown" value="true" />
117
+    <property name="last_opened_file_path" value="$PROJECT_DIR$" />
118
+    <property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
119
+    <property name="nodejs_npm_path_reset_for_default_project" value="true" />
120
+  </component>
121
+  <component name="RunDashboard">
122
+    <option name="ruleStates">
123
+      <list>
124
+        <RuleState>
125
+          <option name="name" value="ConfigurationTypeDashboardGroupingRule" />
126
+        </RuleState>
127
+        <RuleState>
128
+          <option name="name" value="StatusDashboardGroupingRule" />
129
+        </RuleState>
130
+      </list>
131
+    </option>
132
+  </component>
133
+  <component name="SvnConfiguration">
134
+    <configuration />
135
+  </component>
136
+  <component name="TaskManager">
137
+    <task active="true" id="Default" summary="Default task">
138
+      <changelist id="8c6509ac-7f8b-4a34-bafd-26b30711df73" name="Default Changelist" comment="" />
139
+      <created>1543415348077</created>
140
+      <option name="number" value="Default" />
141
+      <option name="presentableId" value="Default" />
142
+      <updated>1543415348077</updated>
143
+      <workItem from="1543415349343" duration="540000" />
144
+      <workItem from="1543586247480" duration="436000" />
145
+    </task>
146
+    <servers />
147
+  </component>
148
+  <component name="TimeTrackingManager">
149
+    <option name="totallyTimeSpent" value="976000" />
150
+  </component>
151
+  <component name="ToolWindowManager">
152
+    <frame x="0" y="23" width="1280" height="723" extended-state="0" />
153
+    <layout>
154
+      <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2536349" />
155
+      <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
156
+      <window_info id="Image Layers" order="2" />
157
+      <window_info id="Designer" order="3" />
158
+      <window_info id="UI Designer" order="4" />
159
+      <window_info id="Capture Tool" order="5" />
160
+      <window_info id="Favorites" order="6" side_tool="true" />
161
+      <window_info anchor="bottom" id="Message" order="0" />
162
+      <window_info anchor="bottom" id="Find" order="1" />
163
+      <window_info anchor="bottom" id="Run" order="2" />
164
+      <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
165
+      <window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
166
+      <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
167
+      <window_info anchor="bottom" id="TODO" order="6" />
168
+      <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
169
+      <window_info anchor="bottom" id="Terminal" order="8" />
170
+      <window_info anchor="bottom" id="Event Log" order="9" side_tool="true" />
171
+      <window_info anchor="bottom" id="Version Control" order="10" />
172
+      <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
173
+      <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
174
+      <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
175
+      <window_info anchor="right" id="Palette" order="3" />
176
+      <window_info anchor="right" id="Capture Analysis" order="4" />
177
+      <window_info anchor="right" id="Theme Preview" order="5" />
178
+      <window_info anchor="right" id="Palette&#9;" order="6" />
179
+      <window_info anchor="right" id="Database" order="7" />
180
+      <window_info anchor="right" id="Maven Projects" order="8" />
181
+    </layout>
182
+  </component>
183
+  <component name="TypeScriptGeneratedFilesManager">
184
+    <option name="version" value="1" />
185
+  </component>
186
+  <component name="VcsContentAnnotationSettings">
187
+    <option name="myLimit" value="2678400000" />
188
+  </component>
189
+  <component name="masterDetails">
190
+    <states>
191
+      <state key="ProjectJDKs.UI">
192
+        <settings>
193
+          <last-edited>1.8</last-edited>
194
+          <splitter-proportions>
195
+            <option name="proportions">
196
+              <list>
197
+                <option value="0.2" />
198
+              </list>
199
+            </option>
200
+          </splitter-proportions>
201
+        </settings>
202
+      </state>
203
+    </states>
204
+  </component>
205
+</project>

+ 1
- 1
index.html Datei anzeigen

@@ -39,4 +39,4 @@
39 39
     	<div id="result"></div>
40 40
     </section>
41 41
 </body>
42
-</html>
42
+</html>

+ 29
- 0
index.js Datei anzeigen

@@ -0,0 +1,29 @@
1
+var request = new XMLHttpRequest();
2
+var output="";
3
+let flick_data_json;
4
+
5
+request.open("GET","https://data.sfgov.org/api/views/yitu-d5am/rows.json?accessType=DOWNLOAD")
6
+
7
+request.onreadystatechange = function(){
8
+
9
+if((request.status== 200) && (request.readyState ==4)){
10
+
11
+  flick_data_json = JSON.parse(request.response);
12
+
13
+
14
+ for(var i = 0; i < flick_data_json.data.length; i++){
15
+   if(flick_data_json.data[i][10] === "Golden Gate Bridge"){
16
+
17
+     output += "❁" +"Movie Title:" + flick_data_json.data[i][8]+"<br>";
18
+     output +=  "Year made:" + flick_data_json.data[i][9]+"<br>";
19
+     output +=  "Production by:" + flick_data_json.data[i][12]+"<br>"+"<br>";
20
+
21
+
22
+   }
23
+ }
24
+ document.getElementById("result").innerHTML = output;
25
+}
26
+
27
+}
28
+
29
+request.send();