typeformx v0.0.1 Typeform.Routes

Summary module to encapsulate the routes wrapped for the TypeForm API

Summary

Functions

retrieve route for creating a typform by passing :create_form

retrieve route for showing a typeform by passing :show_form and the id

Functions

route(atom)

Specs

route(:create_form) :: String.t
route(:information) :: String.t

retrieve route for creating a typform by passing :create_form

iex> Typeform.Routes.route(:create_form) “https://api.typeform.io/latest/forms

route(atom, list)

Specs

route(:show_form, [{:form_id, String.t}]) :: String.t

retrieve route for showing a typeform by passing :show_form and the id

iex> Typeform.Routes.route(:show_form, “ade4thgky”) “https://api.typeform.io/latest/forms/ade4thgky