# Cookbook

Complete little projects built with Machyon's real API. Each one runs as it is, explains the calls it makes, and shows the output of a real run.

## [Build your first image dataset](<https://divyanshusingh96.github.io/machyon/cookbook/first-dataset/index.md>)

Beginner. Turn a CSV of image links into folders sorted by category, a report, and a gallery to browse. One `machyon.download()` call does the downloading.

## [Amazon ML Challenge](<https://divyanshusingh96.github.io/machyon/getting-started/amazon-ml-challenge/index.md>)

The same idea for a real competition dataset: 263,859 rows, the starter kit's file names, and resuming when a notebook disconnects.

## [Download images in Google Colab](<https://colab.research.google.com/github/DivyanshuSingh96/machyon/blob/main/notebooks/machyon-colab.ipynb>)

Beginner, nothing to install. A notebook with a form: paste links or upload a CSV, pick how files are named, then browse a gallery and see why anything failed. If a site refuses the images, set a Referer, check a failing link step by step, and retry. Take the images as a ZIP or to Google Drive.

Every project's code is in [`examples/cookbook/`](<https://github.com/DivyanshuSingh96/machyon/tree/main/examples/cookbook>) and is tested offline against Machyon's local test server, so the code you read here is the code that runs.

To see *why* Machyon behaves the way it does, try the [Interactive Lab](<https://divyanshusingh96.github.io/machyon/lab/index.md>).
