Back to APIs list

Air quality API examples & templates

Use these vals as a playground to view and fork Air quality API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
toowired avatar
toowired
inventory
HTTP
Forked from ejfox/inventory
0
beneskildsen avatar
beneskildsen
bonsaiReducer
Script
An interactive, runnable TypeScript val by beneskildsen
0
jdan avatar
jdan
markovPairwiseOfRandomStrings
Script
An interactive, runnable TypeScript val by jdan
0
eligosmlytics avatar
eligosmlytics
pageDetector
HTTP
@jsxImportSource https://esm.sh/react
1
karfau avatar
karfau
test_SignatureCheck
Script
An interactive, runnable TypeScript val by karfau
0
paulkinlan avatar
paulkinlan
timeZoneCompareTool
HTTP
// This timezone comparison tool will use the Luxon library for date and time manipulation.
0
brezina avatar
brezina
MattssailingNotifyCron
Cron
Forked from chet/sailingNotifyCron
0
temptemp avatar
temptemp
primewire
Script
Forked from tempdev/primewire
0
mahtabtattur avatar
mahtabtattur
plantIdentifierApp
HTTP
@jsxImportSource https://esm.sh/react
0
stevekrouse avatar
stevekrouse
openai_structured_output_demo
Script
OpenAI Structured Output Demo Ensure responses follow JSON Schema for structured outputs The following demo uses zod to describe and parse the response to JSON. Learn more in the OpenAI Structured outputs docs .
2
andrewgao avatar
andrewgao
imgGenUrl
HTTP
Forked from maxm/imgGenUrl
1
fal avatar
fal
creative_upscaler
Script
Creative Upscaler link to val - https://www.val.town/v/fal/creative_upscaler Usage const upscaledImage = @fal.creative_upscaler("an owl", "https://storage.googleapis.com/falserverless/model_tests/upscale/owl.png") Usage import fal from "npm:@fal-ai/serverless-client"; const result = await fal.subscribe("fal-ai/creative-upscaler", { input: { prompt: "an owl", image_url: "https://storage.googleapis.com/falserverless/model_tests/upscale/owl.png", }, logs: true, onQueueUpdate: (update) => { if (update.status === "IN_PROGRESS") { update.logs.map((log) => log.message).forEach(console.log); } }, }); https://www.fal.ai/models/creative-upscaler
0
g avatar
g
vttThumbMaker
Script
Forked from g/ThumbMaker
2
yawnxyz avatar
yawnxyz
coverpatch
Script
// import { covertest as test } from "../covertest/covertest.ts";
0
fil avatar
fil
cron_rezo_rss2bsky
Cron
Passerelle RSS vers BlueSky Ce script tourne une fois par heure et reposte les news de https://rezo.net/ vers le compte https://bsky.app/profile/rezo.net Il utilise 3 éléments: l'URL du flux RSS une variable de stockage de l'état, qu'il faut créer initialement comme let storage_rss_rezo = {} et qui sera mise à jour par le script les secrets du compte (username et mot de passe de l'application) Il appelle @me.bsky_rss_poll qui lit le flux, vérifie avec l'état s'il y a du nouveau, et au besoin nettoie le post, puis l'envoie avec le script @me.post_to_bsky . Sans oublier de mettre à jour l'état pour le prochain run. C'est un premier jet. Merci à @steve.krouse pour val.town et à @jordan pour ses scripts que j'ai bidouillés ici. À faire éventuellement: améliorer la logique; poster vers twitter .
0
shanberg avatar
shanberg
theme
Script
An interactive, runnable TypeScript val by shanberg
0