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.
sammeltassen avatar
sammeltassen
rijks
HTTP
IIIF Presentation API for the digital collections of the Rijksmuseum . This val accepts requests in the form of: https://sammeltassen-rijks.web.val.run/[identifier] You can locate the identifier under "Persistent URL" at the bottom of an object page on the Rijksmuseum website, e.g.: Persistent URL: https://id.rijksmuseum.nl/200738982 Request: https://sammeltassen-rijks.web.val.run/200738982 The val first requests a machine readable representation of the object's metadata. For more information, please refer to the Rijksmuseum Data Services . The edm profile contains a pointer to the IIIF Image API Enpoint hosted at Micrio . For debugging you can request the raw edm response (converted to json) as follows: EDM response: https://sammeltassen-rijks.web.val.run/200738982?format=edm The val checks if the objects has additional parts, and fetches the information for those parts as well. This will slow down the val for large objects! It then passes this on to IIIF Builder with some metadata to create a IIIF Presentation Manifest. Some objects with many parts for testing: Kaart van Delfland Kaart van het Hoogheemraadschap van Delfland ( alternative ) Plattegrond van de Kaart Figuratief van Delft Kaart van het Hoogheemraadschap van Rijnland Les Forces de l'Europe, Asie, Afrique et Amerique en Les costes de France et d'Espagne Album met de kaart van de stad Rotterdam NB: Unfortunately, not all objects include pointers to the IIIF image. This is for example the case for the The Night Watch (id: 200107928 ). In such cases, a manifest is returned without canvasses. Todo: Add more metadata to manifest Cache responses? https://www.val.town/v/xkonti/cache https://docs.val.town/troubleshooting/migrating-deprecated-http-vals/#intentionally-caching-values-for-performance
0
maxm avatar
maxm
tinygoHttp
Script
Class representing a BufferResult.
0
maxm avatar
maxm
extractProjectValInfo
Script
Like https://www.val.town/v/pomdtr/extractValInfo, but for projects. (Should probably be contributed back to pomdtr's)
0
abusedmedia avatar
abusedmedia
addOneToTestVar
Script
An interactive, runnable TypeScript val by abusedmedia
0
roysarajit143 avatar
roysarajit143
removeBackgroundPhoto
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
0
tmcw avatar
tmcw
semverExample
Script
semver The semver module is the most popular way to parse the Semantic Versioning style of versions. Semantic Versions attempt to convey a lot more information about a version than just a single number - each part of the version indicates breaking changes, features, or minor updates.
0
andreterron avatar
andreterron
paginateAPI
Script
An interactive, runnable TypeScript val by andreterron
0
zicklag avatar
zicklag
isMyWebsiteDown
Cron
Forked from healeycodes/isMyWebsiteDown
0
adagradschool avatar
adagradschool
claude_1044d60c_6ca2_4bb0_a80c_e9eababc3ebd
HTTP
An interactive, runnable TypeScript val by adagradschool
0
techMember avatar
techMember
decisiveRoseFelidae
HTTP
@jsxImportSource https://esm.sh/react
0
iakovos avatar
iakovos
chunk
Script
An interactive, runnable TypeScript val by iakovos
0
janpaul123 avatar
janpaul123
valle_tmp_64963667921389725194653754787096
HTTP
* Wordle game implementation in HTML with fun CSS animations and colors. * * This script dynamically generates the HTML and CSS for a Wordle game and supports user interaction.
0
todepond avatar
todepond
labLoginDeleteAccount
HTTP
An interactive, runnable TypeScript val by todepond
0
temptemp avatar
temptemp
inventiveAmethystSheep
HTTP
An interactive, runnable TypeScript val by temptemp
0
Bilelghrsalli avatar
Bilelghrsalli
dreamInterpreterApp
HTTP
@jsxImportSource https://esm.sh/react@18.2.0
1
rebelpotato avatar
rebelpotato
watch_random_bilibili_video
Script
A simple example script that selects a bilibili video at random* and watches it. It requires a cookie from the bilibili website, so after you fork this script, change the cookie accordingly. Maybe turn it into a library next?
0