sanity_client 1.0.0-beta.4 copy "sanity_client: ^1.0.0-beta.4" to clipboard
sanity_client: ^1.0.0-beta.4 copied to clipboard

A client for running queries on Sanity.io

Sanity Client #

A Dart client for connecting to Sanity.io projects and executing GROQ queries. It supports the HTTP semantics described here: https://www.sanity.io/docs/http-query

Features #

  • Connect to a Sanity.io project and run GROQ.
  • Support all parameters allowed by the HTTP API of Sanity including perspective, explain, useCDN, etc.
  • Has support for switching between URL Builders for images. This is useful if you are hosting your images on an external service like Cloudinary or ImageKit

Getting started #

Use the package by adding to your dependencies. It is still in Beta, so there will be rough edges for sure.🤞

Usage #

//TODO

A more comprehensive example will be added along with rich documentation.