A Wordpress REST V2 API wrapper
Available in Hex, the package can be installed
by adding wordpress_ex
to your list of dependencies in mix.exs
:
def deps do
[
{:wordpress_ex, "~> 0.1.0"}
]
end
and then configuring your endpoint in config/config.exs
:
config :wordpress_ex,
base_url: "http://demo.wp-api.org/wp-json/wp/v2"
]
Documentation can be found at https://hexdocs.pm/wordpress_ex.