-
black777cat
- 557
- 3
- 0
- 0
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#ノンプロ研 #GAS初級講座16 ラストの講座! HTTP通信・API slack、Twitter、kintoneにChatWorkなどなど覚えればいろいろなサービスを操作できますよ〜! pic.twitter.com/ADkMoaCFdI
2022-06-21 19:54:56![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
本日は初級講座最後のHTTP通信・API回です! APIやるんだ… でもAPIやると感動するからな… #ノンプロ研 #GAS初級講座
2022-06-21 20:00:39![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
HTTP: Hyper Text Transfer Protocol ネットワーク上で通信する時のプロトコルです GASだとUrlFetchサービスでリクエストを行います #ノンプロ研 #GAS初級講座
2022-06-21 20:11:35![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
知らない単語がわーっと出てきて???となりますが、よーく見ると今まで勉強してきたオブジェクトとかメソッドとかの仲間です! ビビり過ぎずに勉強してゆきましょー #ノンプロ研 #GAS初級講座
2022-06-21 20:14:56![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
POST Googleフォームの送信もそうなんですね。 知らない間にGETとPOSTしているのかな。 #GAS初級講座 #ノンプロ研
2022-06-21 20:16:42![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
try...catch文でエラーが発生した場合も処理を続行させられます エラー出たよーってメールとかで通知させることが多いです #ノンプロ研 #GAS初級講座
2022-06-21 20:30:26![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
GET, POSTリクエストで届くJSONの中身を見てびっくりする回 普段インターネットをしている時は意識しないけど、裏ではこんなのが動いてるんですねぇ #ノンプロ研 #GAS初級講座
2022-06-21 20:44:15![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
\uXXXX という謎の形式の文字列は Unicode文字です! JSON とは JavaScript Object Notation です! なにがなにやら🤪 #ノンプロ研 #GAS初級講座
2022-06-21 20:49:53![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
JSONとはなにか。 昔、Excel⇛CSV WEBデータ(HTTP)⇛JSON と教わった。 そういうオブジェクトだと思っています。 合ってるのかな。。 #ノンプロ研 #GAS初級講座
2022-06-21 20:51:29![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
JSON.parse ジェイソン=パース JSON.stringify ジェイソン=ストリンギファイ 頻出メソッドです! #ノンプロ研 #GAS初級講座
2022-06-21 20:55:01![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
UrlFetchだのJSON.parseだの謎の呪文がどんどん出てきますが 要は「インターネットから取得したデータを綺麗にして目的のものを取り出す処理」です 呪文として憶えましょう! #ノンプロ研 #GAS初級講座
2022-06-21 21:04:43![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
HTTP通信の講義。 急勾配ですよね。難しいと思います。 みんなそうなので焦らずひとつひとつ自分の物にして頂きたい。 #ノンプロ研 #GAS初級講座
2022-06-21 21:08:29![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
API とは Application Programming Interface Slack、Twitter、chatworkなどのアプリを操作する入口みたいなイメージです! #ノンプロ研 #GAS初級講座
2022-06-21 21:10:47![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
#ノンプロ研 #GAS初級講座 初めてAPIを扱うときの考え方 | EXCELVBAとGASとゲーム so.sha-box.com/2022/06/post-5…
2022-06-21 21:31:07![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
API調べる時は ・まず公式 ・英語だったり難しければ、Qiitaとかで新しめの解説ページを探す ・とにかく認証する ・できなければ寝る #ノンプロ研 #GAS初級講座
2022-06-21 21:37:15![](https://tgfile.tg-static.com/static/web/img/placeholder.gif)
Slackのmethod一覧 できることが全部書いてあります。 api.slack.com/methods エンドポイントをGitHubで調べると使用例が出てくることも。 あれ見覚えがあるものが・・・! github.com/ymgcmnk/Slack_… #ノンプロ研 #GAS初級講座
2022-06-21 21:47:08