SDK

Our SDKs make integration simple. Available in multiple languages to fit your stack.

Python

pip install fstorage-sdk
from fstorage import fstorageClient

client = fstorageClient(api_key="your-key")
file = client.upload("document.pdf")
print(file.id)

JavaScript

npm install fstorage-sdk
import { fstorage } from "fstorage-sdk";

const client = new fstorage("your-key");
const file = await client.upload("document.pdf");
console.log(file.id);

Go

go get github.com/fstorage/sdk-go
import "github.com/fstorage/sdk-go"

client := fstorage.NewClient("your-key")
file, err := client.Upload("document.pdf")
fmt.Println(file.ID)

Ruby

gem install fstorage-sdk
require "fstorage"

client = fstorage::Client.new(api_key: "your-key")
file = client.upload("document.pdf")
puts file.id

CLI

Command-line interface for power users. Upload, download, and manage files directly from your terminal.

Install

npm install -g @fstorage/cli

Examples

fstorage upload document.pdf
fstorage download abc123
fstorage list

REST API

Full-featured REST API for programmatic file management. Secure, fast, and reliable.

  • POST /v1/files - Upload a file
  • GET /v1/files/:id - Download a file
  • DELETE /v1/files/:id - Delete a file
  • GET /v1/files - List your files

All endpoints require authentication via X-API-Key header.

View Full API Reference

Quick Start

Get started in 5 minutes.

  1. Create an account - Sign up at fstorage.duckdns.org for a free account.
  2. Get your API key - Generate an API key from your dashboard settings.
  3. Install the SDK - Use pip, npm, or gem to install the client library for your language.
  4. Upload your first file - Use the SDK or CLI to upload a file in seconds.