View Source Wpcom (wpcom.ex v1.0.0)

wpcom.ex is the official Elixir library for the WordPress.com REST API

Summary

Functions

Discover freshly pressed content at WordPress.com

Make a GET request against any of the API versions that have a test endpoint

Types

@type result() :: {:ok, Req.Response.t()} | {:error, Exception.t()}

Functions

@spec discover(keyword()) :: result()

Discover freshly pressed content at WordPress.com

Link to this function

test(version \\ :wpcomV1dot1, params \\ [])

View Source
@spec test(
  :wpcomV1 | :wpcomV1dot1 | :wpcomV1dot2 | :wpcomV1dot3 | :wpcomV2,
  keyword()
) :: result()

Make a GET request against any of the API versions that have a test endpoint