박현우

API connected

Showing 153 changed files with 991 additions and 23 deletions
...@@ -881,6 +881,38 @@ ...@@ -881,6 +881,38 @@
881 "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==", 881 "integrity": "sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==",
882 "dev": true 882 "dev": true
883 }, 883 },
884 + "axios": {
885 + "version": "0.19.0",
886 + "resolved": "https://registry.npmjs.org/axios/-/axios-0.19.0.tgz",
887 + "integrity": "sha512-1uvKqKQta3KBxIz14F2v06AEHZ/dIoeKfbTRkK1E5oqjDnuEerLmYTgJB5AiQZHJcljpg1TuRzdjDR06qNk0DQ==",
888 + "requires": {
889 + "follow-redirects": "1.5.10",
890 + "is-buffer": "^2.0.2"
891 + },
892 + "dependencies": {
893 + "debug": {
894 + "version": "3.1.0",
895 + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
896 + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==",
897 + "requires": {
898 + "ms": "2.0.0"
899 + }
900 + },
901 + "follow-redirects": {
902 + "version": "1.5.10",
903 + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.5.10.tgz",
904 + "integrity": "sha512-0V5l4Cizzvqt5D44aTXbFZz+FtyXV1vrDN6qrelxtfYQKW0KO0W2T/hkE8xvGa/540LkZlkaUjO4ailYTFtHVQ==",
905 + "requires": {
906 + "debug": "=3.1.0"
907 + }
908 + },
909 + "is-buffer": {
910 + "version": "2.0.4",
911 + "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz",
912 + "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A=="
913 + }
914 + }
915 + },
884 "babel-code-frame": { 916 "babel-code-frame": {
885 "version": "6.26.0", 917 "version": "6.26.0",
886 "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", 918 "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz",
...@@ -9384,8 +9416,7 @@ ...@@ -9384,8 +9416,7 @@
9384 "ms": { 9416 "ms": {
9385 "version": "2.0.0", 9417 "version": "2.0.0",
9386 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 9418 "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
9387 - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 9419 + "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
9388 - "dev": true
9389 }, 9420 },
9390 "multicast-dns": { 9421 "multicast-dns": {
9391 "version": "6.2.3", 9422 "version": "6.2.3",
...@@ -15677,6 +15708,11 @@ ...@@ -15677,6 +15708,11 @@
15677 "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz", 15708 "resolved": "https://registry.npmjs.org/vue/-/vue-2.6.10.tgz",
15678 "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ==" 15709 "integrity": "sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ=="
15679 }, 15710 },
15711 + "vue-axios": {
15712 + "version": "2.1.5",
15713 + "resolved": "https://registry.npmjs.org/vue-axios/-/vue-axios-2.1.5.tgz",
15714 + "integrity": "sha512-th5xVbInVoyIoe+qY+9GCflEVezxAvztD4xpFF39SRQYqpoKD2qkmX8yv08jJG9a2SgNOCjirjJGSwg/wTrbmA=="
15715 + },
15680 "vue-eslint-parser": { 15716 "vue-eslint-parser": {
15681 "version": "2.0.3", 15717 "version": "2.0.3",
15682 "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", 15718 "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz",
......
...@@ -14,9 +14,11 @@ ...@@ -14,9 +14,11 @@
14 "build": "node build/build.js" 14 "build": "node build/build.js"
15 }, 15 },
16 "dependencies": { 16 "dependencies": {
17 + "axios": "^0.19.0",
17 "bootstrap": "^4.3.1", 18 "bootstrap": "^4.3.1",
18 "bootstrap-vue": "^2.1.0", 19 "bootstrap-vue": "^2.1.0",
19 "vue": "^2.6.10", 20 "vue": "^2.6.10",
21 + "vue-axios": "^2.1.5",
20 "vue-router": "^3.0.1" 22 "vue-router": "^3.0.1"
21 }, 23 },
22 "devDependencies": { 24 "devDependencies": {
......
1 +[
2 + {
3 + "name": "Aatrox",
4 + "name_ko": "아트록스",
5 + "api_id": 266,
6 + "id": 0
7 + },
8 + {
9 + "name": "Ahri",
10 + "name_ko": "아리",
11 + "api_id": 103,
12 + "id": 1
13 + },
14 + {
15 + "name": "Akali",
16 + "name_ko": "아칼리",
17 + "api_id": 84,
18 + "id": 2
19 + },
20 + {
21 + "name": "Alistar",
22 + "name_ko": "알리스타",
23 + "api_id": 12,
24 + "id": 3
25 + },
26 + {
27 + "name": "Amumu",
28 + "name_ko": "아무무",
29 + "api_id": 32,
30 + "id": 4
31 + },
32 + {
33 + "name": "Anivia",
34 + "name_ko": "애니비아",
35 + "api_id": 34,
36 + "id": 5
37 + },
38 + {
39 + "name": "Annie",
40 + "name_ko": "애니",
41 + "api_id": 1,
42 + "id": 6
43 + },
44 + {
45 + "name": "Ashe",
46 + "name_ko": "애쉬",
47 + "api_id": 22,
48 + "id": 7
49 + },
50 + {
51 + "name": "AurelionSol",
52 + "name_ko": "아우렐리온 솔",
53 + "api_id": 136,
54 + "id": 8
55 + },
56 + {
57 + "name": "Azir",
58 + "name_ko": "아지르",
59 + "api_id": 268,
60 + "id": 9
61 + },
62 + {
63 + "name": "Bard",
64 + "name_ko": "바드",
65 + "api_id": 432,
66 + "id": 10
67 + },
68 + {
69 + "name": "Blitzcrank",
70 + "name_ko": "블리츠크랭크",
71 + "api_id": 53,
72 + "id": 11
73 + },
74 + {
75 + "name": "Brand",
76 + "name_ko": "브랜드",
77 + "api_id": 63,
78 + "id": 12
79 + },
80 + {
81 + "name": "Braum",
82 + "name_ko": "브라움",
83 + "api_id": 201,
84 + "id": 13
85 + },
86 + {
87 + "name": "Caitlyn",
88 + "name_ko": "케이틀린",
89 + "api_id": 51,
90 + "id": 14
91 + },
92 + {
93 + "name": "Camille",
94 + "name_ko": "카밀",
95 + "api_id": 164,
96 + "id": 15
97 + },
98 + {
99 + "name": "Cassiopeia",
100 + "name_ko": "카시오페아",
101 + "api_id": 69,
102 + "id": 16
103 + },
104 + {
105 + "name": "Chogath",
106 + "name_ko": "초가스",
107 + "api_id": 31,
108 + "id": 17
109 + },
110 + {
111 + "name": "Corki",
112 + "name_ko": "코르키",
113 + "api_id": 42,
114 + "id": 18
115 + },
116 + {
117 + "name": "Darius",
118 + "name_ko": "다리우스",
119 + "api_id": 122,
120 + "id": 19
121 + },
122 + {
123 + "name": "Diana",
124 + "name_ko": "다이애나",
125 + "api_id": 131,
126 + "id": 20
127 + },
128 + {
129 + "name": "Draven",
130 + "name_ko": "드레이븐",
131 + "api_id": 119,
132 + "id": 21
133 + },
134 + {
135 + "name": "DrMundo",
136 + "name_ko": "문도 박사",
137 + "api_id": 36,
138 + "id": 22
139 + },
140 + {
141 + "name": "Ekko",
142 + "name_ko": "에코",
143 + "api_id": 245,
144 + "id": 23
145 + },
146 + {
147 + "name": "Elise",
148 + "name_ko": "엘리스",
149 + "api_id": 60,
150 + "id": 24
151 + },
152 + {
153 + "name": "Evelynn",
154 + "name_ko": "이블린",
155 + "api_id": 28,
156 + "id": 25
157 + },
158 + {
159 + "name": "Ezreal",
160 + "name_ko": "이즈리얼",
161 + "api_id": 81,
162 + "id": 26
163 + },
164 + {
165 + "name": "Fiddlesticks",
166 + "name_ko": "피들스틱",
167 + "api_id": 9,
168 + "id": 27
169 + },
170 + {
171 + "name": "Fiora",
172 + "name_ko": "피오라",
173 + "api_id": 114,
174 + "id": 28
175 + },
176 + {
177 + "name": "Fizz",
178 + "name_ko": "피즈",
179 + "api_id": 105,
180 + "id": 29
181 + },
182 + {
183 + "name": "Galio",
184 + "name_ko": "갈리오",
185 + "api_id": 3,
186 + "id": 30
187 + },
188 + {
189 + "name": "Gangplank",
190 + "name_ko": "갱플랭크",
191 + "api_id": 41,
192 + "id": 31
193 + },
194 + {
195 + "name": "Garen",
196 + "name_ko": "가렌",
197 + "api_id": 86,
198 + "id": 32
199 + },
200 + {
201 + "name": "Gnar",
202 + "name_ko": "나르",
203 + "api_id": 150,
204 + "id": 33
205 + },
206 + {
207 + "name": "Gragas",
208 + "name_ko": "그라가스",
209 + "api_id": 79,
210 + "id": 34
211 + },
212 + {
213 + "name": "Graves",
214 + "name_ko": "그레이브즈",
215 + "api_id": 104,
216 + "id": 35
217 + },
218 + {
219 + "name": "Hecarim",
220 + "name_ko": "헤카림",
221 + "api_id": 120,
222 + "id": 36
223 + },
224 + {
225 + "name": "Heimerdinger",
226 + "name_ko": "하이머딩거",
227 + "api_id": 74,
228 + "id": 37
229 + },
230 + {
231 + "name": "Illaoi",
232 + "name_ko": "일라오이",
233 + "api_id": 420,
234 + "id": 38
235 + },
236 + {
237 + "name": "Irelia",
238 + "name_ko": "이렐리아",
239 + "api_id": 39,
240 + "id": 39
241 + },
242 + {
243 + "name": "Ivern",
244 + "name_ko": "아이번",
245 + "api_id": 427,
246 + "id": 40
247 + },
248 + {
249 + "name": "Janna",
250 + "name_ko": "잔나",
251 + "api_id": 40,
252 + "id": 41
253 + },
254 + {
255 + "name": "JarvanIV",
256 + "name_ko": "자르반 4세",
257 + "api_id": 59,
258 + "id": 42
259 + },
260 + {
261 + "name": "Jax",
262 + "name_ko": "잭스",
263 + "api_id": 24,
264 + "id": 43
265 + },
266 + {
267 + "name": "Jayce",
268 + "name_ko": "제이스",
269 + "api_id": 126,
270 + "id": 44
271 + },
272 + {
273 + "name": "Jhin",
274 + "name_ko": "진",
275 + "api_id": 202,
276 + "id": 45
277 + },
278 + {
279 + "name": "Jinx",
280 + "name_ko": "징크스",
281 + "api_id": 222,
282 + "id": 46
283 + },
284 + {
285 + "name": "Kaisa",
286 + "name_ko": "카이사",
287 + "api_id": 145,
288 + "id": 47
289 + },
290 + {
291 + "name": "Kalista",
292 + "name_ko": "칼리스타",
293 + "api_id": 429,
294 + "id": 48
295 + },
296 + {
297 + "name": "Karma",
298 + "name_ko": "카르마",
299 + "api_id": 43,
300 + "id": 49
301 + },
302 + {
303 + "name": "Karthus",
304 + "name_ko": "카서스",
305 + "api_id": 30,
306 + "id": 50
307 + },
308 + {
309 + "name": "Kassadin",
310 + "name_ko": "카사딘",
311 + "api_id": 38,
312 + "id": 51
313 + },
314 + {
315 + "name": "Katarina",
316 + "name_ko": "카타리나",
317 + "api_id": 55,
318 + "id": 52
319 + },
320 + {
321 + "name": "Kayle",
322 + "name_ko": "케일",
323 + "api_id": 10,
324 + "id": 53
325 + },
326 + {
327 + "name": "Kayn",
328 + "name_ko": "케인",
329 + "api_id": 141,
330 + "id": 54
331 + },
332 + {
333 + "name": "Kennen",
334 + "name_ko": "케넨",
335 + "api_id": 85,
336 + "id": 55
337 + },
338 + {
339 + "name": "Khazix",
340 + "name_ko": "카직스",
341 + "api_id": 121,
342 + "id": 56
343 + },
344 + {
345 + "name": "Kindred",
346 + "name_ko": "킨드레드",
347 + "api_id": 203,
348 + "id": 57
349 + },
350 + {
351 + "name": "Kled",
352 + "name_ko": "클레드",
353 + "api_id": 240,
354 + "id": 58
355 + },
356 + {
357 + "name": "KogMaw",
358 + "name_ko": "코그모",
359 + "api_id": 96,
360 + "id": 59
361 + },
362 + {
363 + "name": "Leblanc",
364 + "name_ko": "르블랑",
365 + "api_id": 7,
366 + "id": 60
367 + },
368 + {
369 + "name": "LeeSin",
370 + "name_ko": "리 신",
371 + "api_id": 64,
372 + "id": 61
373 + },
374 + {
375 + "name": "Leona",
376 + "name_ko": "레오나",
377 + "api_id": 89,
378 + "id": 62
379 + },
380 + {
381 + "name": "Lissandra",
382 + "name_ko": "리산드라",
383 + "api_id": 127,
384 + "id": 63
385 + },
386 + {
387 + "name": "Lucian",
388 + "name_ko": "루시안",
389 + "api_id": 236,
390 + "id": 64
391 + },
392 + {
393 + "name": "Lulu",
394 + "name_ko": "룰루",
395 + "api_id": 117,
396 + "id": 65
397 + },
398 + {
399 + "name": "Lux",
400 + "name_ko": "럭스",
401 + "api_id": 99,
402 + "id": 66
403 + },
404 + {
405 + "name": "Malphite",
406 + "name_ko": "말파이트",
407 + "api_id": 54,
408 + "id": 67
409 + },
410 + {
411 + "name": "Malzahar",
412 + "name_ko": "말자하",
413 + "api_id": 90,
414 + "id": 68
415 + },
416 + {
417 + "name": "Maokai",
418 + "name_ko": "마오카이",
419 + "api_id": 57,
420 + "id": 69
421 + },
422 + {
423 + "name": "MasterYi",
424 + "name_ko": "마스터 이",
425 + "api_id": 11,
426 + "id": 70
427 + },
428 + {
429 + "name": "MissFortune",
430 + "name_ko": "미스 포츈",
431 + "api_id": 21,
432 + "id": 71
433 + },
434 + {
435 + "name": "MonkeyKing",
436 + "name_ko": "오공",
437 + "api_id": 62,
438 + "id": 72
439 + },
440 + {
441 + "name": "Mordekaiser",
442 + "name_ko": "모데카이저",
443 + "api_id": 82,
444 + "id": 73
445 + },
446 + {
447 + "name": "Morgana",
448 + "name_ko": "모르가나",
449 + "api_id": 25,
450 + "id": 74
451 + },
452 + {
453 + "name": "Nami",
454 + "name_ko": "나미",
455 + "api_id": 267,
456 + "id": 75
457 + },
458 + {
459 + "name": "Nasus",
460 + "name_ko": "나서스",
461 + "api_id": 75,
462 + "id": 76
463 + },
464 + {
465 + "name": "Nautilus",
466 + "name_ko": "노틸러스",
467 + "api_id": 111,
468 + "id": 77
469 + },
470 + {
471 + "name": "Neeko",
472 + "name_ko": "니코",
473 + "api_id": 518,
474 + "id": 78
475 + },
476 + {
477 + "name": "Nidalee",
478 + "name_ko": "니달리",
479 + "api_id": 76,
480 + "id": 79
481 + },
482 + {
483 + "name": "Nocturne",
484 + "name_ko": "녹턴",
485 + "api_id": 56,
486 + "id": 80
487 + },
488 + {
489 + "name": "Nunu",
490 + "name_ko": "누누",
491 + "api_id": 20,
492 + "id": 81
493 + },
494 + {
495 + "name": "Olaf",
496 + "name_ko": "올라프",
497 + "api_id": 2,
498 + "id": 82
499 + },
500 + {
501 + "name": "Orianna",
502 + "name_ko": "오리아나",
503 + "api_id": 61,
504 + "id": 83
505 + },
506 + {
507 + "name": "Ornn",
508 + "name_ko": "오른",
509 + "api_id": 516,
510 + "id": 84
511 + },
512 + {
513 + "name": "Pantheon",
514 + "name_ko": "판테온",
515 + "api_id": 80,
516 + "id": 85
517 + },
518 + {
519 + "name": "Poppy",
520 + "name_ko": "뽀삐",
521 + "api_id": 78,
522 + "id": 86
523 + },
524 + {
525 + "name": "Pyke",
526 + "name_ko": "파이크",
527 + "api_id": 555,
528 + "id": 87
529 + },
530 + {
531 + "name": "Qiyana",
532 + "name_ko": "키아나",
533 + "api_id": 246,
534 + "id": 88
535 + },
536 + {
537 + "name": "Quinn",
538 + "name_ko": "퀸",
539 + "api_id": 133,
540 + "id": 89
541 + },
542 + {
543 + "name": "Rakan",
544 + "name_ko": "라칸",
545 + "api_id": 497,
546 + "id": 90
547 + },
548 + {
549 + "name": "Rammus",
550 + "name_ko": "람머스",
551 + "api_id": 33,
552 + "id": 91
553 + },
554 + {
555 + "name": "RekSai",
556 + "name_ko": "렉사이",
557 + "api_id": 421,
558 + "id": 92
559 + },
560 + {
561 + "name": "Renekton",
562 + "name_ko": "레넥톤",
563 + "api_id": 58,
564 + "id": 93
565 + },
566 + {
567 + "name": "Rengar",
568 + "name_ko": "렝가",
569 + "api_id": 107,
570 + "id": 94
571 + },
572 + {
573 + "name": "Riven",
574 + "name_ko": "리븐",
575 + "api_id": 92,
576 + "id": 95
577 + },
578 + {
579 + "name": "Rumble",
580 + "name_ko": "럼블",
581 + "api_id": 68,
582 + "id": 96
583 + },
584 + {
585 + "name": "Ryze",
586 + "name_ko": "라이즈",
587 + "api_id": 13,
588 + "id": 97
589 + },
590 + {
591 + "name": "Sejuani",
592 + "name_ko": "세주아니",
593 + "api_id": 113,
594 + "id": 98
595 + },
596 + {
597 + "name": "Shaco",
598 + "name_ko": "샤코",
599 + "api_id": 35,
600 + "id": 99
601 + },
602 + {
603 + "name": "Shen",
604 + "name_ko": "쉔",
605 + "api_id": 98,
606 + "id": 100
607 + },
608 + {
609 + "name": "Shyvana",
610 + "name_ko": "쉬바나",
611 + "api_id": 102,
612 + "id": 101
613 + },
614 + {
615 + "name": "Singed",
616 + "name_ko": "신지드",
617 + "api_id": 27,
618 + "id": 102
619 + },
620 + {
621 + "name": "Sion",
622 + "name_ko": "사이온",
623 + "api_id": 14,
624 + "id": 103
625 + },
626 + {
627 + "name": "Sivir",
628 + "name_ko": "시비르",
629 + "api_id": 15,
630 + "id": 104
631 + },
632 + {
633 + "name": "Skarner",
634 + "name_ko": "스카너",
635 + "api_id": 72,
636 + "id": 105
637 + },
638 + {
639 + "name": "Sona",
640 + "name_ko": "소나",
641 + "api_id": 37,
642 + "id": 106
643 + },
644 + {
645 + "name": "Soraka",
646 + "name_ko": "소라카",
647 + "api_id": 16,
648 + "id": 107
649 + },
650 + {
651 + "name": "Swain",
652 + "name_ko": "스웨인",
653 + "api_id": 50,
654 + "id": 108
655 + },
656 + {
657 + "name": "Sylas",
658 + "name_ko": "사일러스",
659 + "api_id": 517,
660 + "id": 109
661 + },
662 + {
663 + "name": "Syndra",
664 + "name_ko": "신드라",
665 + "api_id": 134,
666 + "id": 110
667 + },
668 + {
669 + "name": "TahmKench",
670 + "name_ko": "탐 켄치",
671 + "api_id": 223,
672 + "id": 111
673 + },
674 + {
675 + "name": "Taliyah",
676 + "name_ko": "탈리야",
677 + "api_id": 163,
678 + "id": 112
679 + },
680 + {
681 + "name": "Talon",
682 + "name_ko": "탈론",
683 + "api_id": 91,
684 + "id": 113
685 + },
686 + {
687 + "name": "Taric",
688 + "name_ko": "타릭",
689 + "api_id": 44,
690 + "id": 114
691 + },
692 + {
693 + "name": "Teemo",
694 + "name_ko": "티모",
695 + "api_id": 17,
696 + "id": 115
697 + },
698 + {
699 + "name": "Thresh",
700 + "name_ko": "쓰레쉬",
701 + "api_id": 412,
702 + "id": 116
703 + },
704 + {
705 + "name": "Tristana",
706 + "name_ko": "트리스타나",
707 + "api_id": 18,
708 + "id": 117
709 + },
710 + {
711 + "name": "Trundle",
712 + "name_ko": "트런들",
713 + "api_id": 48,
714 + "id": 118
715 + },
716 + {
717 + "name": "Tryndamere",
718 + "name_ko": "트린다미어",
719 + "api_id": 23,
720 + "id": 119
721 + },
722 + {
723 + "name": "TwistedFate",
724 + "name_ko": "트위스티드 페이트",
725 + "api_id": 4,
726 + "id": 120
727 + },
728 + {
729 + "name": "Twitch",
730 + "name_ko": "트위치",
731 + "api_id": 29,
732 + "id": 121
733 + },
734 + {
735 + "name": "Udyr",
736 + "name_ko": "우디르",
737 + "api_id": 77,
738 + "id": 122
739 + },
740 + {
741 + "name": "Urgot",
742 + "name_ko": "우르곳",
743 + "api_id": 6,
744 + "id": 123
745 + },
746 + {
747 + "name": "Varus",
748 + "name_ko": "바루스",
749 + "api_id": 110,
750 + "id": 124
751 + },
752 + {
753 + "name": "Vayne",
754 + "name_ko": "베인",
755 + "api_id": 67,
756 + "id": 125
757 + },
758 + {
759 + "name": "Veigar",
760 + "name_ko": "베이가",
761 + "api_id": 45,
762 + "id": 126
763 + },
764 + {
765 + "name": "Velkoz",
766 + "name_ko": "벨코즈",
767 + "api_id": 161,
768 + "id": 127
769 + },
770 + {
771 + "name": "Vi",
772 + "name_ko": "바이",
773 + "api_id": 254,
774 + "id": 128
775 + },
776 + {
777 + "name": "Viktor",
778 + "name_ko": "빅토르",
779 + "api_id": 112,
780 + "id": 129
781 + },
782 + {
783 + "name": "Vladimir",
784 + "name_ko": "블라디미르",
785 + "api_id": 8,
786 + "id": 130
787 + },
788 + {
789 + "name": "Volibear",
790 + "name_ko": "볼리베어",
791 + "api_id": 106,
792 + "id": 131
793 + },
794 + {
795 + "name": "Warwick",
796 + "name_ko": "워윅",
797 + "api_id": 19,
798 + "id": 132
799 + },
800 + {
801 + "name": "Xayah",
802 + "name_ko": "자야",
803 + "api_id": 498,
804 + "id": 133
805 + },
806 + {
807 + "name": "Xerath",
808 + "name_ko": "제라스",
809 + "api_id": 101,
810 + "id": 134
811 + },
812 + {
813 + "name": "XinZhao",
814 + "name_ko": "신 짜오",
815 + "api_id": 5,
816 + "id": 135
817 + },
818 + {
819 + "name": "Yasuo",
820 + "name_ko": "야스오",
821 + "api_id": 157,
822 + "id": 136
823 + },
824 + {
825 + "name": "Yorick",
826 + "name_ko": "요릭",
827 + "api_id": 83,
828 + "id": 137
829 + },
830 + {
831 + "name": "Yuumi",
832 + "name_ko": "유미",
833 + "api_id": 350,
834 + "id": 138
835 + },
836 + {
837 + "name": "Zac",
838 + "name_ko": "자크",
839 + "api_id": 154,
840 + "id": 139
841 + },
842 + {
843 + "name": "Zed",
844 + "name_ko": "제드",
845 + "api_id": 238,
846 + "id": 140
847 + },
848 + {
849 + "name": "Ziggs",
850 + "name_ko": "직스",
851 + "api_id": 115,
852 + "id": 141
853 + },
854 + {
855 + "name": "Zilean",
856 + "name_ko": "질리언",
857 + "api_id": 26,
858 + "id": 142
859 + },
860 + {
861 + "name": "Zoe",
862 + "name_ko": "조이",
863 + "api_id": 142,
864 + "id": 143
865 + },
866 + {
867 + "name": "Zyra",
868 + "name_ko": "자이라",
869 + "api_id": 143,
870 + "id": 144
871 + }
872 +]
...\ No newline at end of file ...\ No newline at end of file
1 +<template>
2 + <div>
3 + <h1>{{ $route.params.userId }}</h1>
4 + <h1>{{ userId }}</h1>
5 + <h1>{{ userPk }}</h1>
6 + <span></span>
7 + <ul>
8 + <li v-for="avg in average">
9 + <h1>id : {{ avg.id }}</h1>
10 + <h1>winrate : {{ avg.winrate }}</h1>
11 + </li>
12 + </ul>
13 + </div>
14 +</template>
15 +
16 +<script>
17 +export default {
18 + name: 'DetailPage',
19 + data () {
20 + return {
21 + userId: this.$route.params.userId,
22 + userPk: null,
23 + average: [],
24 + }
25 + },
26 + created () {
27 + //this.userId = $route.params.userId
28 + //this.axios.post('http://127.0.0.1:8000/GameData/search/', {'game_id': "laurelwoods"}, {
29 + // headers: { 'Content-Type': 'application/json'}
30 + //})
31 + this.axios.get('http://127.0.0.1:8000/GameData/search/', {
32 + params: { game_id: 'laurelwoods' }
33 + })
34 + .then((response) => {
35 + this.userPk = response.data.id;
36 + this.axios.get('http://127.0.0.1:8000/GameData/' + this.userPk + '/average/')
37 + .then((response) => {
38 + this.average = response.data;
39 + })
40 + })
41 + }
42 +}
43 +</script>
44 +
45 +<style scoped>
46 +</style>
1 +<template>
2 + <div class="front">
3 + <div class="title">
4 + <h1>League of Legends</h1>
5 + <h1>Winrate Prediction</h1>
6 + </div>
7 + <div class="search">
8 + <b-form-input v-model="inputUserId" placeholder="Enter your ID"></b-form-input>
9 + <h1>{{ inputUserId }}</h1>
10 + <b-button><router-link :to="{ path: inputUserId }">search</router-link></b-button>
11 + </div>
12 + </div>
13 +</template>
14 +
15 +<script>
16 + export default {
17 + name: 'FrontPage',
18 + data () {
19 + return {
20 + inputUserId: ''
21 + }
22 + }
23 + }
24 +</script>
1 -<template>
2 - <div>
3 - <h1>{{$route.params.userId}}</h1>
4 - <b-button>B1</b-button>
5 - </div>
6 -</template>
7 -
8 -<script>
9 -export default {
10 - name: 'MyVue',
11 -}
12 -</script>
13 -
14 -<style scoped>
15 -</style>
...\ No newline at end of file ...\ No newline at end of file
...@@ -3,12 +3,15 @@ ...@@ -3,12 +3,15 @@
3 import Vue from 'vue' 3 import Vue from 'vue'
4 import App from './App' 4 import App from './App'
5 import router from './router' 5 import router from './router'
6 +import axios from 'axios'
7 +import VueAxios from 'vue-axios'
6 8
7 import BootstrapVue from 'bootstrap-vue' 9 import BootstrapVue from 'bootstrap-vue'
8 import 'bootstrap/dist/css/bootstrap.css' 10 import 'bootstrap/dist/css/bootstrap.css'
9 import 'bootstrap-vue/dist/bootstrap-vue.css' 11 import 'bootstrap-vue/dist/bootstrap-vue.css'
10 12
11 Vue.use(BootstrapVue) 13 Vue.use(BootstrapVue)
14 +Vue.use(VueAxios, axios)
12 15
13 Vue.config.productionTip = false 16 Vue.config.productionTip = false
14 17
......
1 import Vue from 'vue' 1 import Vue from 'vue'
2 import Router from 'vue-router' 2 import Router from 'vue-router'
3 3
4 -import HelloWorld from '@/components/HelloWorld' 4 +import FrontPage from '@/components/FrontPage'
5 -import MyVue from '@/components/MyVue' 5 +import DetailPage from '@/components/DetailPage'
6 6
7 Vue.use(Router) 7 Vue.use(Router)
8 8
...@@ -10,13 +10,13 @@ export default new Router({ ...@@ -10,13 +10,13 @@ export default new Router({
10 routes: [ 10 routes: [
11 { 11 {
12 path: '/', 12 path: '/',
13 - name: 'HelloWorld', 13 + name: 'FrontPage',
14 - component: HelloWorld 14 + component: FrontPage
15 }, 15 },
16 { 16 {
17 path: '/:userId', 17 path: '/:userId',
18 - name: 'MyVue', 18 + name: 'DetailPage',
19 - component: MyVue 19 + component: DetailPage
20 } 20 }
21 ] 21 ]
22 }) 22 })
......