This document provides a detailed explanation of all parameters for the CustomSignal endpoint, which computes custom weather signals based on user-defined rules, thresholds, and aggregations.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| annotated-types==0.7.0 | |
| anyio==4.11.0 | |
| appnope==0.1.4 | |
| arq==0.25.0 | |
| asttokens==3.0.0 | |
| babel==2.17.0 | |
| beautifulsoup4==4.14.2 | |
| certifi==2025.10.5 | |
| charset-normalizer==3.4.3 | |
| click==8.3.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "name": "Rich Token Test", | |
| "symbol": "RTT", | |
| "description": "Only a test token", | |
| "image": "https://www.circle.com/hs-fs/hubfs/sundaes/USDC.png?width=540&height=540&name=USDC.png" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import * as request from 'request' | |
| const Client = { | |
| username: process.env.NODEUSERNAME, | |
| password: process.env.NODEPASSWORD | |
| } | |
| interface ClientRequestResponse<R = any> { | |
| "result": R, | |
| "error": string, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Request, Response } from 'express' | |
| import { Endpoint } from '../typings/global'; | |
| import { check, validationResult } from 'express-validator/check'; | |
| export const GenerateAddress: Endpoint = { | |
| validations:[ | |
| check('userId').isLength({min:10}) | |
| ], | |
| handler: async (req: Request, res: Response) => { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { Request, Response } from 'express'; | |
| import { ValidationChain } from 'express-validator/check' | |
| declare interface Endpoint { | |
| handler: (req: Request, res: Response) => any; | |
| validations: ValidationChain[]; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Imports | |
| const dotenv = require('dotenv') | |
| dotenv.config() | |
| import * as morgan from "morgan" | |
| import * as express from "express" | |
| import * as bodyParser from "body-parser" | |
| const port: any = process.env.SERVICEPORT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ${pwd} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| String file contents |