Skip to content

Repository files navigation

Stories

An Elixir API wrapper for the Stories API (https://www.getstories.io/)

Read docs https://hexdocs.pm/stories

Stories gathers everything that happens regarding a user on a timeline, so you can understand what is going on and take action in the right direction.

Installation

Add stories to your list of dependencies in mix.exs:

defdepsdo[{:stories,"~> 0.1.0"}]end

Add your Stories API key to your config.ex

importConfigconfig:stories,acccess_token: "asdfqwer1234"

Basic Usage

Get list of users:

iex>users=Stories.User.list()iex>[%Stories.User{}]=users

Create an event:

iex>event=Stories.Event.create(%{...>user_id: "f3111ed7-9372-453e-8838-19ab2de8adc0",...>name: "A developer tested the Elixir Stories API wrapper"
...>})iex>%Stories.Event{}=event

About

📓 Elixir wrapper for the Stories API

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages