Back to APIs list

US Congress Stock Trading API examples & templates

Use these vals as a playground to view and fork US Congress Stock Trading API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
chris_symbiote avatar
postSaveMessage
@chris_symbiote
Script
An interactive, runnable TypeScript val by chris_symbiote
janpaul123 avatar
valle_tmp_0112503842756113147839156482696499
@janpaul123
HTTP (deprecated)
// This val retrieves the weather in Brooklyn, NY using the MetaWeather API
chet avatar
TextTransformer
@chet
HTTP (deprecated)
An interactive, runnable TypeScript val by chet
willthereader avatar
isMyWebsiteDown
@willthereader
Script
Forked from healeycodes/isMyWebsiteDown
dthyresson avatar
getSpotifyAccessToken
@dthyresson
Script
getSpotifyAccess Token Request an access token for use with the Spotify Web API. Requires environment variables from your Spotify Developers account. SPOTIFY_CLIENT_ID SPOTIFY_CLIENT_SECRET Uses Blob storage to cache the spotify_accessToken based on when the expires_in value in the Spotify Access Token response. Example import { getSpotifyAccessToken } from "https://esm.town/v/dthyresson/getSpotifyAccessToken"; const accessToken = await getSpotifyAccessToken(); console.debug(accessToken)
pomdtr avatar
val_town_client_example
@pomdtr
Script
Typed Client for the Val Town API Automatically generated using open-api-typescript and openapi-fetch .
yawnxyz avatar
excessPlumCapybara
@yawnxyz
Script
Forked from iamseeley/sendSMS
yawnxyz avatar
blobbyFace
@yawnxyz
HTTP (deprecated)
(todo) This lists all your blobs. You can create new blobs, edit them, or even preview (and upload) file blobs from both URL and computer!
xkonti avatar
getDevToPublicPosts
@xkonti
Script
Returns a list of posts and their related data for the specified dev.to author. It uses dev.to API.
tmcw avatar
uuidExample
@tmcw
Script
uuid The uuid module provides builders for different types of universally unique identifiers . These are kinds of identifiers that you can use instead of auto-incrementing integers. They're intended to contain so much randomness that the chances of a collision between two uuids is very low. There are different versions of uuids available: typically people use v4 UUIDs, which are fully random.
stevekrouse avatar
blobbyFace
@stevekrouse
HTTP (deprecated)
Forked from yawnxyz/blobbyFace
andreterron avatar
dallemail
@andreterron
Script
Email DALL·E 2 image requests Send an email to andreterron.dallemail@valtown.email, it will forward it to DALL·E 2, and email you back the resulting image. Based on https://www.val.town/v/stevekrouse.emailGPT3
tmcw avatar
jadeOpossum
@tmcw
HTTP (deprecated)
Forked from stevekrouse/dateme
janpaul123 avatar
valle_tmp_719883516769855647473989346238055
@janpaul123
HTTP (deprecated)
// This is a simple Express HTTP val that returns "Hello, World!" when accessed.
stevekrouse avatar
maroonArmadillo
@stevekrouse
HTTP (deprecated)
Forked from tmcw/honoExample
stevekrouse avatar
serverlessMatrixEchoBot
@stevekrouse
Express
// https://stevekrouse-serverlessMatrixEchoBot.express.val.run/_matrix/push/v1/notify