質問編集履歴
2
URL
test
CHANGED
File without changes
|
test
CHANGED
@@ -30,7 +30,7 @@
|
|
30
30
|
|
31
31
|
tr=""
|
32
32
|
|
33
|
-
resp = requests.get(
|
33
|
+
resp = requests.get("https://webapi.yanoshin.jp/webapi/tdnet/list/8818.json2?limit=100")
|
34
34
|
|
35
35
|
data = resp.json()
|
36
36
|
|
1
アクセストークンがそのままでした
test
CHANGED
File without changes
|
test
CHANGED
@@ -100,19 +100,7 @@
|
|
100
100
|
|
101
101
|
print(data)
|
102
102
|
|
103
|
-
|
103
|
+
|
104
|
-
|
105
|
-
access_token = 'VV6ArQXmDCUryKftPoMZxjjtn2WxryxTWOJqnYNGvs6'
|
106
|
-
|
107
|
-
headers = {'Authorization': 'Bearer ' + access_token}
|
108
|
-
|
109
|
-
message = data
|
110
|
-
|
111
|
-
params = {'message': message}
|
112
|
-
|
113
|
-
r = requests.post(url, headers=headers, params=params,)
|
114
|
-
|
115
|
-
|
116
104
|
|
117
105
|
old_file=tr
|
118
106
|
|