Gdrive
TODO: Add description
Installation
- available in Hex, the package can be installed
by adding
gdriveto your list of dependencies inmix.exs:
def deps do
[
{:gdrive, "~> 0.1.0"}
]
endCreate or select a project at Google Drive API enabler wizard. Click Continue. Click Go to credentials.
Select Other non-UI > Click Application data > Click No, I have not used. > Click Required credentials.
Input Service account name, Select Porject - Owner. Click next, Start download JSON automatically. Rename it to client_secret.json and move to
config** folder. 5. Click **Manage service accounts** > Edit service account > Click **Enable G Suite domain wide delegation** > **Save**. 6. Browse **Google Drive** > select any folder > share with **service account id**(like xxx-xxx@xxxx.iam.gserviceaccount.com). 7. Add to yourconfig.exsfile:elixir config :goth, json: "./config/client_secret.json" |> File.read!Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) and published on [HexDocs](https://hexdocs.pm). Once published, the docs can be found at [https://hexdocs.pm/gdrive](https://hexdocs.pm/gdrive).