Skip to content

nash-io/discourse_api

Repository files navigation

DiscourseApi

TODO: Add description

Installation

If available in Hex, the package can be installed by adding discourse_api to your list of dependencies in mix.exs:

def deps do
  [
    {:discourse_api, "~> 0.1.0"}
  ]
end

Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/discourse_api.

Mock backend

For development, there is a backend which doesn't issue requests. It can be configured like this:

  config :discourse_api,
    ...
    impl: DiscourseApi.DevImpl,
    mock_initiate_json_file: "<full path to json file to return>",
    mock_retrieve_data_json_file: "<full path to json file to return>",
    mock_download_image_file: "<full path to image file to return>"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages