约珞亚

约珞亚

网络世界的辩证唯物主义者

Google Cloud client ID

Creating your own Google Drive API#

When using tools like rclone and plexdrive, we need to use our own Google Drive API to mount or access gd.

  1. Go to the Google API console and log in to your Google account.

  2. Click on the existing project name and click on "Create a new project". If you are creating a project for the first time, the page you see may be different from mine.
    image-20220514194849741
    image-20220514194949266

  3. Name the project and click on "Create".
    image-20220514195030010

  4. After successful creation, switch to the created project.
    image-20220514195142940

  5. On the left side, select "APIs & Services" and then select "Enabled APIs and Services".
    image-20220514195355481

  6. Click on "Enable APIs and Services".
    image-20220514195806151

  7. Search for "Google Drive" and click on "Enable".
    Search gd

  8. Click on "Credentials" on the left side and select "Configure Consent Screen".
    image-20220514200300825

  9. Select "External" and fill in the application name, user support email, and developer contact information.
    image-20220514200352691
    image-20220514200538030
    image-20220514200621619

  10. Leave the other fields unchanged and save. Then click on "Return to the dashboard" and select "Credentials" on the left side, then select "Create Credentials".
    image-20220514200916220

  11. Select "Create OAuth client ID".
    image-20220514201122291

  12. Select "Desktop app" and click on "Create".
    image-20220514201226839

  13. Copy your ID and secret, which will be needed in rclone or plexdrive.
    image-20220514201349094

  14. The last and most important step is to go back to the OAuth consent screen and click on "Publish app" to confirm.
    image-20220514201549889

With this, the creation of the gd API is complete.

Reference#

  1. making-your-own-client-id
Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.