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.
agmm avatar
agmm
headers
HTTP
An interactive, runnable TypeScript val by agmm
0
niek avatar
niek
zestyPurplePanda
HTTP
Forked from hunty/Fetch
0
pmo avatar
pmo
fetchWikipediaContent
HTTP
Forked from jamiedubs/wikipediaPage
0
janpaul123 avatar
janpaul123
valle_tmp_36549593302312316221638155580223
HTTP
// 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.
0
ynonp avatar
ynonp
gsheet_call
Script
Forked from gwelinder/gsheet_call
0
nmsilva avatar
nmsilva
sendSMS
Script
Forked from iamseeley/sendSMS
0
pperi avatar
pperi
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
mateuszrusyn avatar
mateuszrusyn
myApi
Script
An interactive, runnable TypeScript val by mateuszrusyn
0
manyone avatar
manyone
sonnet
Script
Forked from kora/sonnet
0
dedes avatar
dedes
home
Express (deprecated)
An interactive, runnable TypeScript val by dedes
0
stevekrouse avatar
stevekrouse
karma
Script
An interactive, runnable TypeScript val by stevekrouse
0
mrdrone avatar
mrdrone
blob_admin
HTTP
Forked from stevekrouse/blob_admin
0
pomdtr avatar
pomdtr
ejm
HTTP
An interactive, runnable TypeScript val by pomdtr
0
manyone avatar
manyone
spanishPoeticClock
HTTP
@jsxImportSource https://esm.sh/react
0
stevekrouse avatar
stevekrouse
compress_response
HTTP
Compress Response Isn't it cool that browsers can natively decompress stuff? There are a couple of supported compression algorithms: gzip (used below), compress , deflate , br . Learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding If you don't add the content-encoding header, the gzip result looks like: ��������� �� �.���� �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������YDA��"�� Which is incredibly short for a 500kb string! (Which shouldn't be surprising because it's just "hi" 250k times)
1
rozek avatar
rozek
GDI_AITranslatorService
HTTP
This val is part of a series of examples to introduce "val.town" in my computer science course at Stuttgart University of Applied Sciences . The idea is to motivate even first-semester students not to wait but to put their ideas into practice from the very beginning and implement web apps with frontend and backend. It contains a simple HTTP end point which expects a POST request with a text body. That text is translated to english with the help of OpenAI and sent back to the client This val is the companion of https://rozek-gdi_aitranslator.web.val.run/ which contains the browser part (aka "frontend") for this example. The code was created using Townie - with only a few small manual corrections. This val is licensed under the MIT License.
0