ZuraGuerra / mawu

Elixir wrapper for the Google Calendar API 📅 💜💧

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mawu

Elixir wrapper for the Google Calendar API 📅 💜💧

Installation

If available in Hex, the package can be installed as:

  1. Add mawu to your list of dependencies in mix.exs:
```elixir
def deps do
  [{:mawu, "~> 0.1.0"}]
end
```
  1. Ensure mawu is started before your application:
```elixir
def application do
  [applications: [:mawu]]
end
```
  1. Add your Google app keys to the Uberauth configuration, (you can generate one here):
```elixir
config :ueberauth, Ueberauth, providers: [google: {Ueberauth.Strategy.Google, []}]
config :ueberauth, Ueberauth.Strategy.Google.OAuth,
  # Please use env vars (ఠ్ఠ ˓̭ ఠ్ఠ)
  client_id: System.get_env("GOOGLE_CLIENT_ID"),
  client_secret: System.get_env("GOOGLE_CLIENT_SECRET")
```
  1. Check the Überauth Google readme to implement the Google auth.

Usage

About

Elixir wrapper for the Google Calendar API 📅 💜💧


Languages

Language:Elixir 100.0%