immich/packages/sdk
Giacomo Pinato 6b6058c463
feat: store null instead of empty string for album.description (#30123)
Addresses the first column of issue #28832: album.description now stores
and returns null instead of an empty string.

Co-authored-by: Giacomo Pinato <giacomo.pinato@gmail.com>
2026-07-30 19:41:49 +00:00
..
src feat: store null instead of empty string for album.description (#30123) 2026-07-30 19:41:49 +00:00
.npmignore chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00
package.json chore: version v3.1.0 2026-07-27 18:20:33 +00:00
README.md chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00
tsconfig.json chore: move sdk to packages (#28350) 2026-05-11 13:37:10 -04:00

@immich/sdk

A TypeScript SDK for interfacing with the Immich API.

Install

npm i --save @immich/sdk

Usage

For a more detailed example, check out the @immich/cli.

import { getAllAlbums, getMyUser, init } from "@immich/sdk";

const API_KEY = "<API_KEY>"; // process.env.IMMICH_API_KEY

init({ baseUrl: "https://demo.immich.app/api", apiKey: API_KEY });

const user = await getMyUser();
const albums = await getAllAlbums({});

console.log({ user, albums });