Skip to main content

Software Development Kits

Officially maintained clients for Python and JavaScript/TypeScript, with type-safe request and response models.

Official SDKs

Python

GitHub
pip install eosyn
pip install eosyn

import eosyn
client = eosyn.Client(api_key="...")
result = client.risk.get(lat=51.5074, lng=-0.1278, peril="flood")
print(result.risk_score, result.confidence)

JavaScript / TypeScript

GitHub
npm install @eosynspace/sdk
npm install @eosynspace/sdk

import { EosynClient } from "@eosynspace/sdk";
const client = new EosynClient({ apiKey: process.env.EOSYN_API_KEY });
const result = await client.risk.get({ lat: 51.5074, lng: -0.1278, peril: "flood" });
console.log(result.riskScore, result.confidence);

Community SDKs

No community SDKs yet. Build one and tell us. We'll list it here and link it from the docs.

Software Development Kits

Officially maintained clients for Python and JavaScript/TypeScript, with type-safe request and response models.

Official SDKs

Python

GitHub
pip install eosyn
pip install eosyn

import eosyn
client = eosyn.Client(api_key="...")
result = client.risk.get(lat=51.5074, lng=-0.1278, peril="flood")
print(result.risk_score, result.confidence)

JavaScript / TypeScript

GitHub
npm install @eosynspace/sdk
npm install @eosynspace/sdk

import { EosynClient } from "@eosynspace/sdk";
const client = new EosynClient({ apiKey: process.env.EOSYN_API_KEY });
const result = await client.risk.get({ lat: 51.5074, lng: -0.1278, peril: "flood" });
console.log(result.riskScore, result.confidence);

Community SDKs

No community SDKs yet. Build one and tell us. We'll list it here and link it from the docs.