<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>google app script</anon>
    <anon>spreadsheet</anon>
    <anon>gas</anon>
  </categories>
  <description>前回の続き 前回までで、ハローワールドを書いて、ファイル分割して管理できるまでみた。 今回は、ネットアクセス 今回は、URLへリクエストを投げて、Google外部のAPIを使ってデータ連携する方法を見ておく。 ネットからデータを取得 URLを指定して、HTTPアクセスでデータを取得したり、データを送信できる。外部のAPIと連携して通知を送ったりできる。 URLへHTTP GET HTTPでGET もできる。UrlFetchAppオブジェクトがグローバル空間に存在する。UrlFetchAppを使えばオッケ function getCurrentIp(){ let url = 'https://a…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2021%2F06%2F04%2F040154&quot; title=&quot;Goole App Script ( GAS ) の基本的な操作方法。06. HTTPアクセスでJSON取得 - それマグで！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/takuya_1st/20210604/20210604052453.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-06-04 04:01:54</published>
  <title>Goole App Script ( GAS ) の基本的な操作方法。06. HTTPアクセスでJSON取得</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2021/06/04/040154</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
