diff --git a/docs/Google-Drive-API.md b/docs/Google-Drive-API.md new file mode 100644 index 0000000..3684714 --- /dev/null +++ b/docs/Google-Drive-API.md @@ -0,0 +1,43 @@ +# Registering with Google Developers Console + +The following shows how to get a register your app (or rather, your instance of gdocs-export) and get a Google API `client_id` and `client_secret` tokens. + +The Google Developers Console API console seems to be always changing. The following steps were sufficient as of March 4, 2014. + +--- + +* **CREATE NEW PROJECT:** + 1. Visit [https://console.developers.google.com/project](https://console.developers.google.com/project). + ![](./images/1.0.png) + 1. Create new project. + ![](./images/1.1.png) + +--- + +* **ENABLE GOOGLE DRIVE API:** + 1. In the next page, you will be prompted to `Enable the APIs you plan to use`. Follow this link. + ![](./images/2.0.png) + 1. Type `drive` in the search field, and then select the `Google Drive API`. + ![](./images/2.1.png) + 1. Finally, you will be given the choice to `Enable` or `Try this API`, click `Enable`. + ![](./images/2.2.png) + +--- + +* **CREATE CREDENTIALS:** + 1. Once enabled, you will be prompted to `Create credentials`. Follow this link. + ![](./images/3.0.png) + 1. You will now be given two drop-down menus and a radio-button list. Fill them as in the picture (i.e. `Google Drive API` | `Other UI` | `User Data` ). + ![](./images/3.1.png) + 1. Name your `OAuth 2.0 client ID` appropriately, and create it. Then name `Product name` appropriately, and press continue. + ![](./images/3.2.png) + 1. Download your credentials in JSON format if needed, and press done. + ![](./images/3.3.png) + + --- + +* **ACCESS YOUR ID+PASS:** + 1. Simply click on the name of the OAuth ID you just you just created. + ![](./images/4.0.png) + 1. The **CLIENT\_ID** and **CLIENT\_SECRET** you need are there for you to copy. + ![](./images/4.1.png) diff --git a/docs/images/1.0.png b/docs/images/1.0.png new file mode 100644 index 0000000..466b3d4 Binary files /dev/null and b/docs/images/1.0.png differ diff --git a/docs/images/1.1.png b/docs/images/1.1.png new file mode 100644 index 0000000..699a1db Binary files /dev/null and b/docs/images/1.1.png differ diff --git a/docs/images/2.0.png b/docs/images/2.0.png new file mode 100644 index 0000000..70ee75e Binary files /dev/null and b/docs/images/2.0.png differ diff --git a/docs/images/2.1.png b/docs/images/2.1.png new file mode 100644 index 0000000..64d23cf Binary files /dev/null and b/docs/images/2.1.png differ diff --git a/docs/images/2.2.png b/docs/images/2.2.png new file mode 100644 index 0000000..7bdd212 Binary files /dev/null and b/docs/images/2.2.png differ diff --git a/docs/images/3.0.png b/docs/images/3.0.png new file mode 100644 index 0000000..f632670 Binary files /dev/null and b/docs/images/3.0.png differ diff --git a/docs/images/3.1.png b/docs/images/3.1.png new file mode 100644 index 0000000..19b85a9 Binary files /dev/null and b/docs/images/3.1.png differ diff --git a/docs/images/3.2.png b/docs/images/3.2.png new file mode 100644 index 0000000..0595c2d Binary files /dev/null and b/docs/images/3.2.png differ diff --git a/docs/images/3.3.png b/docs/images/3.3.png new file mode 100644 index 0000000..f50e5ca Binary files /dev/null and b/docs/images/3.3.png differ diff --git a/docs/images/4.0.png b/docs/images/4.0.png new file mode 100644 index 0000000..0cd9618 Binary files /dev/null and b/docs/images/4.0.png differ diff --git a/docs/images/4.1.png b/docs/images/4.1.png new file mode 100644 index 0000000..c24233a Binary files /dev/null and b/docs/images/4.1.png differ