notion-client 1.1.1

A Rust client library for the Notion API
Documentation
{
  "parent": {
    "type": "page_id",
    "page_id": "98ad959b-2b6a-4774-80ee-00246fb0ea9b"
  },
  "icon": {
    "type": "emoji",
    "emoji": "📝"
  },
  "cover": {
    "type": "external",
    "external": {
      "url": "https://website.domain/images/image.png"
    }
  },
  "title": [
    {
      "type": "text",
      "text": {
        "content": "Grocery List"
      }
    }
  ],
  "properties": {
    "+1": {
      "type": "people",
      "people": {}
    },
    "Description": {
      "type": "rich_text",
      "rich_text": {}
    },
    "Food group": {
      "type": "select",
      "select": {
        "options": [
          {
            "name": "🥦Vegetable",
            "color": "green"
          },
          {
            "name": "🍎Fruit",
            "color": "red"
          },
          {
            "name": "💪Protein",
            "color": "yellow"
          }
        ]
      }
    },
    "In stock": {
      "type": "checkbox",
      "checkbox": {}
    },
    "Last ordered": {
      "type": "date",
      "date": {}
    },
    "Meals": {
      "type": "relation",
      "relation": {
        "database_id": "668d797c-76fa-4934-9b05-ad288df2d136"
      }
    },
    "Name": {
      "type": "title",
      "title": {}
    },
    "Number of meals": {
      "type": "rollup",
      "rollup": {
        "rollup_property_name": "Name",
        "relation_property_name": "Meals",
        "function": "count"
      }
    },
    "Photo": {
      "type": "files",
      "files": {}
    },
    "Price": {
      "type": "number",
      "number": {
        "format": "dollar"
      }
    },
    "Store availability": {
      "type": "multi_select",
      "multi_select": {
        "options": [
          {
            "name": "Duc Loi Market",
            "color": "blue"
          },
          {
            "name": "Rainbow Grocery",
            "color": "gray"
          },
          {
            "name": "Nijiya Market",
            "color": "purple"
          },
          {
            "name": "Gus's Community Market",
            "color": "yellow"
          }
        ]
      }
    }
  }
}