import os
from loonfs import Client
client = Client(
base_url="https://api.loonfs.com",
api_key=os.environ["LOONFS_API_KEY"],
)
ns = client.namespace("finance")
for path in ["mrr.xlsx", "projections.xlsx", "report.md"]:
f = ns.put(path)
print(f"uploaded {f.path} · v{f.version}")
import { Client } from "@loonfs/client";
const client = new Client({
baseUrl: "https://api.loonfs.com",
apiKey: process.env.LOONFS_API_KEY,
});
const ns = client.namespace("finance");
for (const path of ["mrr.xlsx", "projections.xlsx", "report.md"]) {
const f = await ns.put(path);
console.log(`uploaded ${f.path} · v${f.version}`);
}