SNIPPETS
Analysis Snippets
Analysis scripts run on TagoIO's serverless platform to process device data, send notifications, generate reports, and integrate with external services.
Node.js Legacy
LegacyES5/ES6 JavaScript with pre-installed libraries only
Node.js rt2025
ModernModern JavaScript with fetch API and improved performance
Deno rt2025
TypeScriptModern TypeScript/JavaScript with native TS support and URL-based modules
Python Legacy
LegacyPython 3.x with pre-installed libraries only
Python rt2025
ModernLatest Python with dynamic package installation (UV) and PyPI access
Payload Parser Snippets
Payload parsers transform raw device data into TagoIO's standardized format for storage and visualization.
JavaScript Runtime
Node.jsJavaScript (ES5/ES6+) for processing and transforming device payload data
Usage Examples
Fetch JSON Metadata
curl https://snippets.tago.io/analysis/deno-rt2025.json
Download Code File
curl https://snippets.tago.io/analysis/deno-rt2025/console.ts
API Endpoints
Analysis Snippets
JSON: /analysis/{runtime}.json
Files: /analysis/{runtime}/{filename}
Runtimes: node-legacy, node-rt2025, deno-rt2025, python-legacy, python-rt2025
Payload Parser Snippets
JSON: /payload-parser/{runtime}.json
Files: /payload-parser/{runtime}/{filename}
Runtimes: javascript