This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Elm interface to the Google Url Shortener API
version 1.0.0
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.0
Committed At 2016-12-21 18:38:32 UTC
elm-lang/http 1.0.0 <= v < 2.0.0 1.0.0
elm-lang/core 5.0.0 <= v < 6.0.0 5.1.1

Modules

README

elm-google-url-shortener

An Elm interface to the Google Url Shortener API

Basic usage:

import Shortener exposing (..)
import Http

apiKey : ApiKey
apiKey =
    "google_api_key"

type Msg
    = ShortenerResult (Result Http.Error Shortener.Response)

shortUrl : Url -> Cmd Msg
shortUrl url =
  RequestData apiKey url
    |> Shortener.send ShortenerResult