Skip to content

List available Crous

import { getAvailableCrous } from "crowous";
// 1. Get the available Crous
const availableCrous = await getAvailableCrous();
// 2. You can now use any of the available Crous
for (const crous of availableCrous) {
console.log(`+ ${crous.name} with the identifier "${crous.identifier}"`);
}

You’ll have the name and the identifier of every available Crous you can use within the API. The identifier is used for further requests, such as getting restaurants in this Crous.