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.
pinjasaur
sassy
HTTP
sassy Compile Sass into CSS on the fly. Inspired by me doing the same thing on Webtask when that was still around. Read more . Use like so: curl -X POST -H "Content-Type: application/json" -d '{ "sass": "body { background: rgba(#bada55, .5) }" }' https://pinjasaur-sassy.web.val.run
0
yawnxyz
htmlkit
Script
This module provides functions to convert HTML to various formats such as Markdown, Pug, and Turndown.
It also includes utilities to fetch HTML from a URL, extract metadata, and clean HTML by removing unwanted selectors.
Dependencies include Cheerio for HTML parsing, JSDOM for DOM manipulation, and Turndown for converting HTML to Markdown.
0
charmaine
listeningToLastFM
HTTP
What I'm Listening To, via Last.fm / Spotify This val returns the latest track you've listened to via Last.fm . Last.fm's "scrobbler" keeps track of any song you're listening to on different platforms, you can connect it to Spotify, Tidal, SoundCloud etc. Quick start Fork this val and change the following: username = your Last.fm username Add your Last.fm API key to your environment variables , name it LASTFM_API_KEY You can get your Last.fm API key through this form , it seems like it gets auto-approved. This will return the most recent track you have been listening to, along with the artist and artwork. Connecting with Framer You can easily plug this into your Framer website through Framer Fetch . You can get the API url of your val by clicking Copy > Copy HTTP Endpoint on the right side bar. For example, my HTTP endpoint is: https://charmaine-listeningtolastfm.web.val.run Example inside Framer, with Fetch:
0