Elm Pebble

Pebble.Companion.Timeline

Timeline commands for companion-driven pins.

Pebble.Companion.Timeline.insertPin "pin-create" pinJson

Commands

Values

getToken

getToken : String -> CommandEnvelope

Request the timeline token for the current user.

insertPin

insertPin : String -> Encode.Value -> CommandEnvelope

Insert or update a timeline pin from encoded pin JSON.

deletePin

deletePin : String -> String -> CommandEnvelope

Delete a timeline pin by id.