jiocloud_client
Inoffizielles Jio AI Cloud Python SDK, CLI & AI-Agent-Tools
INOFFIZIELLES PROJEKT. Nicht verbunden mit, assoziiert mit, autorisiert von, unterstützt von oder in irgendeiner Weise offiziell verbunden mit Reliance Jio Infocomm Ltd. oder seinen Tochtergesellschaften. „Jio“ / „Jio AI Cloud“ sind Marken ihrer jeweiligen Inhaber, die hier nur zur namentlichen Bezugnahme verwendet werden.
INSTABILES ZIEL — Zuletzt verifiziert: 2026-08-25 (26/26 Prüfungen bestanden). Jio AI Cloud hat keine öffentliche API. Endpunkte ändern sich ohne Vorankündigung und können jederzeit brechen. Verifiziert gegen Produktion am 2026-08-25 (26/26 Prüfungen). Funktionen können jederzeit aufhören zu funktionieren — siehe docs/KNOWN_ISSUES.md für den aktuellen Status.
Ein leistungsstarkes, abhängigkeitsfreies Python SDK, CLI und AI-Agent-Tool-Server für Jio AI Cloud-Speicher — Protokollwissen aus dem Live-Netzwerkverkehr des eigenen Kontos des Besitzers zurückentwickelt. Entwickelt ausschließlich für persönliche Datenportabilität, Backup des EIGENEN Kontos, Interoperabilität und Bildung — siehe docs/DISCLAIMER.md und docs/LEGAL.md vor der Verwendung.
Dokumentationsseite: https://ns81000.github.io/jiocloud_client/
Hauptfunktionen
Bereich | Funktionen |
Katalogisierung | Streaming-rekursiver Datei-Walker (2200+ Dateien getestet), Verzeichnislisten (Dateien/Ordner), Volltextsuche über Namen und Backup-Quellpfade |
Downloads | Chunked atomare Downloads mit Fortschritts-Callbacks, MD5 gegen Server-Hash verifiziert, mehrthreadige Bulk-Synchronisierung mit Überspringen vorhandener Dateien |
Verwaltung | Ordner erstellen, umbenennen, verschieben, Favorit/Favorit entfernen, Papierkorb, Wiederherstellen, Versionsverlauf |
Teilen | Öffentliche universelle Links ( |
Boards/Alben | Auflisten, erstellen, Mitglieder anzeigen, Board-Details abrufen, Board verlassen |
Konto | Profil, Kontingentaufschlüsselung (Dokumente/Fotos/Videos/Audio), Geräte, Aktionen, App-Einstellungen |
Feeds | Feed der letzten Aktivitäten, Highlights, Von mir geteilt, DigiLocker-verknüpfte App-Objekte, manuelle Tags |
KI-Agenten | 16-Tool-JSON-Schema (OpenAI/Anthropic function-calling-kompatibel), strikter JSON-Envelope-Dispatcher, Bestätigungsschutz für destruktive Operationen, MCP-artiger stdio-Server |
Robustheit | Wiederholung mit exponentiellem Backoff bei 429/5xx/Netzwerkfehlern, typisierte Ausnahme-Taxonomie, Fehleranzeige pro Objekt aus Batch- |
Abhängigkeiten | Keine – reine Python-3.8+-Standardbibliothek |
Jeder implementierte Endpunkt wurde gegen die Produktion getestet; siehe
docs/KNOWN_ISSUES.md für dabei entdeckte Server-Eigenheiten
und tests/live_verify.py für die reproduzierbare
26-Punkte-Verifizierungsmatrix (alle bestanden ab 2026-08-25).
Related MCP server: MCP Filesystem Server
Service-Architektur
graph TD
Client[Python SDK / CLI / Agent] -->|Auth, profile, quota| API[api.jioaicloud.com]
Client -->|Metadata, folders, trash, share| JAWS[jaws-api.jioaicloud.com]
Client -->|Direct binary streaming| CDN[jaws-dl.jioaicloud.com]
Client -->|Shared albums & boards| Boards[boards.jioaicloud.com]
Client -->|Address book| Contacts[jaws-contacts.jioaicloud.com]
Client -->|Promo banners| Msg[jaws-msg.jioaicloud.com]Verzeichnisstruktur
jiocloud_client/
├── README.md # This file
├── LICENSE # MIT + trademark/non-affiliation notice
├── CHANGELOG.md # Release history with verification stamps
├── CONTRIBUTING.md # Broken-endpoint reports, capture-based fixes
├── cli.py # Command-line interface (20 commands)
├── config.example.json # Credential template (placeholders only)
├── mkdocs.yml # Documentation site config (GitHub Pages)
├── llms.txt / llms-full.txt # LLM-oriented documentation indexes
├── jiocloud/ # Core SDK package
│ ├── client.py # JioCloudClient — 30+ methods, retry engine
│ ├── auth.py # JioCloudAuth — header construction
│ ├── agent_tools.py # AI-agent schema, bridge, MCP stdio loop
│ ├── models.py # Typed dataclasses
│ └── exceptions.py # Typed error taxonomy
├── docs/ # Also rendered at ns81000.github.io/jiocloud_client
│ ├── API_REFERENCE.md # Every verified endpoint + payloads
│ ├── AUTHENTICATION.md # Headers, token extraction, safety
│ ├── GET_CREDENTIALS.md # Credential walkthrough (console one-paste)
│ ├── DATA_MODELS.md # JSON schemas
│ ├── ERROR_CODES.md # Server error codes seen in production
│ ├── KNOWN_ISSUES.md # Verified server behaviors & gaps (contribute!)
│ ├── DISCLAIMER.md # Full legal disclaimers
│ └── LEGAL.md # Compliance summary
├── ai/ # AI integration assets
│ ├── skills/jio-cloud-manager/SKILL.md
│ ├── tools/openai-function-schema.json
│ ├── tools/anthropic-tools.json
│ ├── prompts/system-prompt.txt
│ └── examples/agent-conversation.md
├── examples/ # 01_quickstart ... 08_inventory_export (+ setup_credentials.py)
└── tests/
├── test_models.py # Offline unit tests
├── test_client.py # Live integration tests
└── live_verify.py # 26-check live verification matrixSchnellstart
1. Konfiguration
Der einfachste Weg: Kopieren Sie eine Anfrage als cURL aus dem Netzwerk-Tab Ihres Browsers
(Filter: domain:api.jioaicloud.com security/users -method:OPTIONS), dann führen Sie aus:
python examples/setup_credentials.py --from-curlEs liest das cURL aus Ihrer Zwischenablage, validiert die Sitzung live und schreibt
config.json. Vollständige Anleitung (einschließlich eines Einfüge-Browser-Konsolen-Extraktors):
docs/GET_CREDENTIALS.md.
Manuelle Alternative: Kopieren Sie config.example.json in config.json und füllen Sie
Ihre eigenen Sitzungsanmeldeinformationen aus:
{
"auth_token": "Basic YOUR_BASE64_SESSION_TOKEN_HERE",
"user_id": "YOUR_32_CHAR_USER_ID_HEX",
"device_key": "YOUR_DEVICE_KEY_UUID",
"api_key": "c153b48e-d8a1-48a0-a40d-293f1dc5be0e",
"app_secret": "ODc0MDE2M2EtNGY0MC00YmU2LTgwZDUtYjNlZjIxZGRkZjlj",
"client_details": "clientType:WEB; appVersion:86.0.1",
"device_type": "W",
"accept_language": "en-US,en;q=0.9"
}
api_key/app_secretsind öffentliche Web-App-Konstanten, keine Geheimnisse. Committen oder teilen Sieconfig.jsonniemals. Umgebungsvariablen (JIOCLOUD_AUTH_TOKEN,JIOCLOUD_USER_ID,JIOCLOUD_DEVICE_KEY) funktionieren ebenfalls.
2. Python SDK
from jiocloud import JioCloudClient, format_bytes
client = JioCloudClient.from_config("config.json")
profile = client.get_user_profile()
q = profile.quota
print(f"{profile.name}: {q.total_used_gb:.1f}/{q.total_allocated_gb:.0f} GB")
# Stream every file in the account
for f in client.stream_all_files():
print(f.object_name, f.human_size)
# Search everywhere, then download matches
for hit in client.search_files("invoice", filter_extension="pdf")[:5]:
client.download_file(hit.object_key, f"./{hit.object_name}")3. CLI
python cli.py info # account overview + usage bar
python cli.py list --limit 20 # list root files
python cli.py tree # recursive tree view
python cli.py search resume --ext pdf
python cli.py download <key> -d ./out/
python cli.py sync --dest ./backup --workers 6
python cli.py mkdir Reports
python cli.py rename <key> "new name.pdf"
python cli.py move <key> <folder-key>
python cli.py favorite <key>
python cli.py share <key> # public link
python cli.py versions <key> # version history
python cli.py recent # recent activity feed
python cli.py boards list|create|members
python cli.py contacts # address book summary
python cli.py promotions # storage promos
python cli.py trash <key> / restore <key> / trash-list4. KI-Agenten-Integration
# Dump the 16-tool JSON schema into any LLM's tools parameter
python cli.py agent schema
# One-shot structured call (strict JSON envelope)
python cli.py agent call '{"tool":"search_files","arguments":{"query":"tax","extension":"pdf"}}'
# MCP-style stdio server loop for agent hosts
python cli.py agent serveEnvelope-Vertrag:
// request
{"tool": "<name>", "arguments": {...}}
// response — success
{"ok": true, "result": ...}
// response — failure (never a raw traceback)
{"ok": false, "error": {"type": "...", "message": "..."}}
// destructive tools (download_file, download_all, move_to_trash,
// restore_from_trash, share_link) REQUIRE arguments.confirm === trueSiehe examples/06_agent_integration.py
und ai/examples/agent-conversation.md.
5. Installation der KI-Assets
Alles, was ein Assistent benötigt, um dieses SDK zu bedienen, ist vorgefertigt in ai/:
Asset | Installieren in |
Claude (als Skill/Projektwissen) oder jeder Assistent, der ein Markdown-Anweisungsdokument akzeptiert | |
ChatGPT / jeder OpenAI-kompatible Host: Übergeben Sie das | |
Claude API: als | |
Jedes LLM: als System-Prompt zusammen mit den Tool-Schemas einfügen | |
Jeder Agent, der Kontext von einer URL abruft – vollständige Dokumentation in einer Datei |
Für lokale Agenten: Stellen Sie das SDK als Tool-Server bereit:
python cli.py agent serveVerbinden Sie dann Ihren MCP-artigen Host, um pro Aufruf eine JSON-Zeile zu senden:
{"tool": "...", "arguments": {...}} und eine strikte JSON-Envelope zurückzulesen.
Verifizierung
# Offline unit tests
python -m unittest discover -s tests
# FULL live matrix against production (requires config.json).
# Exercises every read endpoint plus a complete create→rename→favorite→
# trash→restore→trash cycle and a real small-file download.
python tests/live_verify.pyLetzter Lauf: 26/26 bestanden gegen Produktion (2026-08-25).
Dokumentation
Site: https://ns81000.github.io/jiocloud_client/
Anmeldeinformationen abrufen – Sitzungswerte extrahieren und validieren
Authentifizierung – Header-Vertrag und Sicherheit der Anmeldeinformationen
API-Referenz – Endpunkte, Parameter, Payloads, Antwortstrukturen
Datenmodelle – Entitätsschemas
Fehlercodes – Produktionsfehler-Taxonomie und -Behandlung
Bekannte Probleme – Server-Eigenheiten, Lücken, wie man Fehlerbehebungen beiträgt
llms.txt / llms-full.txt – für KI-Agenten
Rechtliches
LICENSE – MIT + Marken-/Nicht-Zugehörigkeitshinweis
DISCLAIMER.md – AS-IS-Garantie, Haftungsbeschränkungen, Klausel für persönliche Backups, Datenschutzhinweis
LEGAL.md – Compliance-Zusammenfassung und Kontakt für Entfernungsanfragen
Zusammenfassung: unabhängiges inoffizielles Tool · nur persönliche Datenportabilität
und Bildung · keine Garantie · Sie sind für die Einhaltung der Jio-Bedingungen für Ihr
Konto verantwortlich · Anmeldeinformationen verlassen Ihren Rechner nur zu offiziellen
*.jioaicloud.com-Endpunkten über TLS · null Telemetrie.
This server cannot be deployed
Maintenance
Related MCP Connectors
Persistent file storage for AI agents via MCP and curl. Upload, download, and version files.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Agent-native MCP server over the public saagarpatel.dev corpus. Read-only, stateless.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseAqualityAmaintenanceFilesystem MCP server for AI assistants. Search, read, edit, and manage local files in directories you choose.6141,895 npm32MIT
- AlicenseNot gradedqualityDmaintenanceProvides file system operations (list, read, write, search) via MCP, enabling an AI agent to manage files through natural language.1,834 npmMIT
- AlicenseNot gradedqualityDmaintenanceA lightweight, stdio-based MCP server enabling AI assistants to perform local file system operations like reading, writing, searching, and executing commands.6,734 npmMIT
- AlicenseNot gradedqualityDmaintenanceStdio MCP server for sandboxed file access — read files, search content, safely edit with checksums, and manage file structure.106 npmISC