LoginSignup
0
0

More than 3 years have passed since last update.

Google Driveの公開フォルダを一括取得する方法

Posted at

3分APIクッキング Google Driveの公開フォルダを一括取得する方法

Google Drive で共有設定されたフォルダ、ファイルを一括で取得したいことがありますよね。
GUIで一つ一つ確認するのは大変ですが、APIを使えば一括で取得することが可能です

  1. https://developers.google.com/drive/api/v3/reference/files/list へアクセス。
    こちらはFiles:listのAPIリファレンスとなります。

  2. 「Try it now」を押す
    GoogleのAPIを利用するには通常APIダッシュボードで有効化する必要がありますが、こちらの「Try it now」から一時的にAPIをコールすることができます。

  3. q のフィールドに "自分のメアド" in owners and visibility != "limited" を入力してEXECUTE
    ”自分メアド” in owners  → 所有者(owners)が自分であるとなります。
    visibility != "limited"  → 公開設定(visibility) が「非公開(limited) ではない(!=)と指定します。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0