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.
yawnxyz avatar
blobby
@yawnxyz
Script
Blobby Blobby is a simple wrapper around blob w/ more helpers for scoping, uploading/downloading, writing and reading strings, and so on. Todo Support lunr / semantic search, and embeddings Collections that support pointing to multiple blobs, like {description, embeddings, fileblob, ...} with a shared index / lookup
stevekrouse avatar
lookup
@stevekrouse
HTTP (deprecated)
Lookup the val behind an http val URL Example usage: https://stevekrouse-lookup.web.val.run/https://nbbaier-servepdf.web.val.run/download
justwph avatar
myApi
@justwph
Script
An interactive, runnable TypeScript val by justwph
ryi avatar
blob_admin
@ryi
HTTP (deprecated)
Forked from stevekrouse/blob_admin
stevekrouse avatar
groupBy
@stevekrouse
Script
! * Group items from an array together by some criteria or value. * (c) 2019 Tom Bremmer (https://tbremer.com/) and Chris Ferdinandi (https://gomakethings.com), MIT License, * @param {Array} arr The array to group items from * @param {String|Function} criteria The criteria to group by * @return {Object} The grouped object
stevekrouse avatar
fileInputUploadExample
@stevekrouse
HTTP (deprecated)
Example of an HTML Form with a File Upload, handled by the server The key step was setting enctype="multipart/form-data" on the <form> element. If you skip that step, you'll only get the file's name on the server. Limitation on files > 1mb Currently (as of 4/14/24) this only works for small files (< 1mb). For larger files you get an error: {"statusCode":413,"error":"Payload Too Large","message":"request entity too large"} . A workaround is to upload to another service client-side, send the URL from that service to your Val Town server, and then fetch the file server-side (helper: @stevekrouse/uploadTo0x0).
agmm avatar
headers
@agmm
HTTP (deprecated)
An interactive, runnable TypeScript val by agmm
pmo avatar
fetchWikipediaContent
@pmo
HTTP
Forked from jamiedubs/wikipediaPage
janpaul123 avatar
valle_tmp_36549593302312316221638155580223
@janpaul123
HTTP (deprecated)
// This val serves an HTML page with an input field to enter a name. Upon form submission, it greets the user with the entered name.
ynonp avatar
gsheet_call
@ynonp
Script
Forked from gwelinder/gsheet_call
nmsilva avatar
sendSMS
@nmsilva
Script
Forked from iamseeley/sendSMS
xkonti avatar
memoryApiPolicy
@xkonti
Script
Returns a simple privacy policy for the GPT Memory API. Examples of input: apiName : Memory API contactEmail : some@email.com lastUpdated : 2023-11-28
mateuszrusyn avatar
myApi
@mateuszrusyn
Script
An interactive, runnable TypeScript val by mateuszrusyn
dedes avatar
home
@dedes
Express
An interactive, runnable TypeScript val by dedes
vawogbemi avatar
blob_admin
@vawogbemi
HTTP (deprecated)
Forked from stevekrouse/blob_admin
stevekrouse avatar
karma
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse