Elixir wrapper for the Google Calendar API 📅 💜💧
If available in Hex, the package can be installed as:
- Add
mawu
to your list of dependencies inmix.exs
:
```elixir
def deps do
[{:mawu, "~> 0.1.0"}]
end
```
- Ensure
mawu
is started before your application:
```elixir
def application do
[applications: [:mawu]]
end
```
- 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")
```
- Check the Überauth Google readme to implement the Google auth.