質問編集履歴

3

コード修正

2018/04/23 04:25

投稿

beginner_t
beginner_t

スコア716

test CHANGED
File without changes
test CHANGED
@@ -58,11 +58,7 @@
58
58
 
59
59
 
60
60
 
61
- $(test_txt).load("test.txt");
62
-
63
-
64
-
65
- $.get('https://app.rakuten.co.jp/services/api/IchibaItem/Search/20170706?', {
61
+ $.get('https://app.rakuten.co.jp/services/api/IchibaItem/Search/20170706?', {
66
62
 
67
63
  applicationId: test_txt,
68
64
 

2

参照URL追加

2018/04/23 04:25

投稿

beginner_t
beginner_t

スコア716

test CHANGED
File without changes
test CHANGED
@@ -84,6 +84,18 @@
84
84
 
85
85
 
86
86
 
87
+ 【4/23追記】
88
+
89
+ 実現したい内容に近いサイトを見つけましたので記載します。
90
+
91
+ この場合はNode.jsで実装しておりますが、
92
+
93
+ nodeの記載ではない方法で実装したいと考えています。
94
+
95
+ [参考サイト](https://qiita.com/noraworld/items/84e58a330f423621a490)
96
+
97
+
98
+
87
99
 
88
100
 
89
101
  稚拙な質問ですが、よろしくお願い致します。

1

実現したい内容を追記

2018/04/23 03:23

投稿

beginner_t
beginner_t

スコア716

test CHANGED
File without changes
test CHANGED
@@ -46,6 +46,42 @@
46
46
 
47
47
 
48
48
 
49
+ 【こんな感じのものを作りたい】
50
+
51
+
52
+
53
+ ```javascript
54
+
55
+ $(function() {
56
+
57
+ var test_txt;
58
+
59
+
60
+
61
+ $(test_txt).load("test.txt");
62
+
63
+
64
+
65
+ $.get('https://app.rakuten.co.jp/services/api/IchibaItem/Search/20170706?', {
66
+
67
+ applicationId: test_txt,
68
+
69
+ keyword: 'テスト',
70
+
71
+ hits: 8,
72
+
73
+ sort: '+itemPrice'
74
+
75
+
76
+
77
+ });
78
+
79
+ ```
80
+
81
+ 上記のような感じで
82
+
83
+ ID部分に変数を入れたいです。
84
+
49
85
 
50
86
 
51
87