ghostex v0.1.1 Ghostex.Client View Source

Provides required functions to connect to Ghost blog, authenticate and post documents.

Ghostex clinet is a Gen Server, and need admin api key and api domain to start. You can start it by passing [key, url] to :start_link function.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts Ghostex.Client

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

post(client, title, markdown, tags)

View Source
post(pid(), binary(), binary(), list()) :: :ok | {:error, atom()}
Link to this function

start_link(list)

View Source
start_link(list()) :: {:ok, any()}

Starts Ghostex.Client