Index

district-kit

Open-source TypeScript SDK + CLI for reading District’s public guest surface. Prefer the package for live queries; this site is the archive.

npm · GitHub

Install

npm install district-kit
# or
npx district-kit search comedy --city bangalore

Example

import { DistrictClient } from "district-kit";

const client = new DistrictClient({ city: "bangalore" });
const results = await client.search("comedy");
const event = await client.events.get("some-event-slug");

Be a good neighbor

Use read paths for exploration and tools. Don’t hammer shared infrastructure, and don’t use the SDK to automate purchases or account abuse. The library is unofficial and unaffiliated with Zomato / District.