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.
pomdtr avatar
auth
@pomdtr
Script
Minimal Auth Middleware Usage import { auth } from "https://esm.town/v/pomdtr/auth"; export default auth(req => Response.json({message: "You are logged in!"}));
stevekrouse avatar
queryParams
@stevekrouse
HTTP (deprecated)
Forked from neverstew/queryParams
zarutian avatar
gardland
@zarutian
HTTP (deprecated)
// til minnis: þarf að uppfæra þetta til að nota Hano
pomdtr avatar
password_auth_example
@pomdtr
HTTP (deprecated)
yieldray avatar
serve_router
@yieldray
HTTP (deprecated)
serve-router Example https://yieldray-serve_router.web.val.run https://yieldray-serve_router.web.val.run/user/ray https://yieldray-serve_router.web.val.run/headers https://yieldray-serve_router.web.val.run/api https://yieldray-serve_router.web.val.run/api/one
mxdvl avatar
haversine_distance
@mxdvl
Script
Implementation of the Haversine formula for calculating the great circle distance between two points on a sphere. If no radius is provided, the average Earth’s radius is used with a value of 6371km.
nbbaier avatar
stripFrontmatter
@nbbaier
Script
Forked from nbbaier/extractMetadata
pomdtr avatar
page
@pomdtr
HTTP (deprecated)
Render a val readme Inspired by github pages. Use https://pomdtr-page.web.val.run/v/<author>/<name> Example You can see this val readme at https://pomdtr-page.web.val.run/v/pomdtr/readme
pomdtr avatar
verifyUserEmail
@pomdtr
Script
Check that a string match your profile email
stevekrouse avatar
blob_delete_by_prefix
@stevekrouse
Script
Delete blobs by prefix Utility to delete your blobs by prefix
dandivelbiss avatar
basic_auth
@dandivelbiss
HTTP (deprecated)
Forked from rdimartino/basic_auth
nbbaier avatar
extractMetadata
@nbbaier
Script
Forked from pomdtr/gfm
stevekrouse avatar
notionGetDatabase
@stevekrouse
Script
Get all the pages in a notion database Usage Find your databaseId : https://developers.notion.com/reference/retrieve-a-database Get auth by setting up an internal integration: https://developers.notion.com/docs/authorization#internal-integration-auth-flow-set-up Example usage: @stevekrouse.dateMeNotionDatabase deno-notion-sdk docs: https://github.com/cloudydeno/deno-notion_sdk
nbbaier avatar
dbToApiBasicAuth
@nbbaier
Script
Forked from nbbaier/mockToApi
ttodosi avatar
notionGetDatabase
@ttodosi
Script
Forked from stevekrouse/notionGetDatabase
junhoca avatar
notionGetDatabase
@junhoca
Script
Forked from ttodosi/notionGetDatabase