Back to APIs list

Weather API examples & templates

Use these vals as a playground to view and fork Weather API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
janpaul123 avatar
getValsContextWindow
@janpaul123
Script
An interactive, runnable TypeScript val by janpaul123
stevekrouse avatar
apricotTurkey
@stevekrouse
Script
Forked from yawnxyz/apricotTurkey
stevekrouse avatar
valleGetValsContextWindow
@stevekrouse
HTTP
Forked from janpaul123/valleGetValsContextWindow
roadlabs avatar
valleGetValsContextWindow
@roadlabs
Script
Forked from janpaul123/valleGetValsContextWindow
janpaul123 avatar
valTownChatGPT2
@janpaul123
HTTP (deprecated)
https://x.com/JanPaul123/status/1811801305066651997 Fork it and authenticate with your Val Town API token as the password.
stevekrouse avatar
firmIvorySawfish
@stevekrouse
Script
Forked from stevekrouse/demoSDK
andrew avatar
SO2_Balloon_Napkin_Math
@andrew
Script
An interactive, runnable TypeScript val by andrew
stevekrouse avatar
exponentialBackoffMiddleware
@stevekrouse
Script
Forked from stevekrouse/reloadOnSave
colinespinas avatar
products
@colinespinas
Script
An interactive, runnable TypeScript val by colinespinas
willthereader avatar
AlgoliaRecordSender2
@willthereader
HTTP (deprecated)
// Importing environment variables
stevekrouse avatar
json_viewer
@stevekrouse
Script
Inspector to browser json data in HTTP vals Example: https://val.town/v/stevekrouse/weatherDescription Thanks @mmcgrana (https://markmcgranaghan.com/) for the idea!
stevekrouse avatar
gpt4FunctionCallingExample
@stevekrouse
Script
// TODO pull out function call and initial message
all avatar
iconExplorer
@all
HTTP
Icon Explorer [ ] Dropdown for Popular Libraries [ ] Color [ ] Fix Filtering
roramigator avatar
lootGenAPI
@roramigator
HTTP (deprecated)
Loot Generator API How It Works Components The Loot Generator API creates random loot items by combining: 30 adjectives 29 materials 15 item types resulting in 13,050 possible items. Legendary Items Occasionally, a rare legendary item is generated. An item becomes legendary if all three components are rare. Rarity is determined by a threshold: Threshold = max(1,⌊log(length)×0.6⌋) Probability of a legendary item with the default settings: P(Legendary) = 1/13,050 ≈ 0.00766% Only one legendary item is possible: ✨💎 Arcane Diamond Rock . Customization You can expand the lists or adjust the 0.6 multiplier to control rarity.
willthereader avatar
prepareChapterForAlgolia
@willthereader
Script
An interactive, runnable TypeScript val by willthereader
tmcw avatar
big_stories_ranks
@tmcw
Script
// set by tmcw.big_story at 2023-07-21T13:27:35.553Z