Current collected state Current
Observed since 20 Oct, 22:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
@0code/sdk
Official TypeScript SDK for the UpCode API by 0Code
Official TypeScript SDK for the UpCode API by 0Code.
Self-hosted photo and video management solution.
npm install @0code/sdk
# or
pnpm add @0code/sdk
# or
yarn add @0code/sdk
import { getAllAlbums, getMyUser, init } from "@0code/sdk";
const API_KEY = "<API_KEY>"; // Your UpCode API key
init({ baseUrl: "https://upcode.0code.uk/api", apiKey: API_KEY });
const user = await getMyUser();
const albums = await getAllAlbums({});
console.log({ user, albums });
For full API documentation, visit: https://upcode.0code.uk/docs
AGPL-3.0
Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
@oazapfts/runtimeEnvironment{
"local_name": "@oazapfts/runtime",
"alias": false,
"peer_metadata": null
} | ^1.0.2 | runtime |
@types/nodeEnvironment{
"local_name": "@types/node",
"alias": false,
"peer_metadata": null
} | ^22.18.8 | development |
typescriptEnvironment{
"local_name": "typescript",
"alias": false,
"peer_metadata": null
} | ^5.3.3 | development |
Source distribution
{
"integrity": "sha512-9RBRll57DrFczJaFtJqh2fp8tAHt7ObyJ4IdJ+mB5YZjx65fgQAS2rAmA7p8lSVa36X2x/uLF3zvFDz3r+IjAg==",
"shasum": "5b4c6f2c9ffc0ca894fdd4cf10590d937d1e430f",
"tarball": "https://registry.npmjs.org/@0code/sdk/-/sdk-1.0.1.tgz",
"fileCount": 10,
"unpackedSize": 186714,
"signatures": [
{
"keyid": "SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U",
"sig": "MEYCIQCjD4WskJyxJ3zhM8/a+cbZe4JgfWtUfN3Ymj+bS0k0eAIhAJO15rXsl2mLj7j//Lz2NpGN+4D7D7pv02bCOierjFQF"
}
]
}Observed since 20 Oct, 22:06 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:782eb6de0c7fc228f859ea7d8ddc96d07a8a2fd30cbc87229cedf129306df664