Client library for Sanity CMS.


License
MIT

Documentation

Sanity

Package Documentation CI

A client library for the Sanity CMS API.

Installation

The package can be installed by adding sanity to your list of dependencies in mix.exs:

def deps do
  [
    {:sanity, "~> 1.0"}
  ]
end

Examples

Sanity.query(~S'*[_type == "product"]')
|> Sanity.request(project_id: "abc", dataset: "production")

Related Projects

Supported endpoints

  • Assets
  • Doc
  • Export
  • History
  • Listen (see #74)
  • Mutate
  • Projects
  • Query