jamiedubs
i move away from the mic to breathe in
Public vals
24
syntheticLoot
@jamiedubs
HTTP
dark greetings cryptoadventurers. This val will print the contents of a given Ethereum wallet's Synthetic Loot , which is procedurally generated from your wallet address. To look at your sLoot in a browser with some fun pixel art, check out timshel's Synthetic Loot Viewer to use this endpoint, pass ?address=0x... e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00 the default response type is JSON. You can also get a simple list of the loot bag contents using ?format=text . e.g. https://jamiedubs-syntheticloot.web.val.run/?account=0xf296178d553c8ec21a2fbd2c5dda8ca9ac905a00&format=text
wikipediaToday
@jamiedubs
HTTP
fetch the contents of the Wikipedia "On this day in history" page. defaults to JSON output, but specify ?format=text or ?format=html for other outputs. e.g. https://jamiedubs-wikipediatodayhttp.web.val.run/?format=json https://jamiedubs-wikipediatodayhttp.web.val.run/?format=text https://jamiedubs-wikipediatodayhttp.web.val.run/?format=html #wikipedia
valtownGeocities
@jamiedubs
HTTP
attempt to generate websites using Glif and then store and publish them via Valtown - it's valtownGeocities! a real mouthful run this glif to generate HTML and publish to a given key: https://glif.app/@jamiedubs/glifs/clqecfqdd000tc3vk4i208jl3 access that website by going to a URL like: https://jamiedubs-valtownGeocities.web.val.run?key=YOURKEYHERE make sure to use the same key value for both the glif and to access your cool new website
databin
@jamiedubs
HTTP
a super simple JSON setter/getter using valtown blobs. use GET to fetch it, use POST to set it. expects the inbound data to be JSON for simplicity. use ?key=foobar to specify different storage locations. set: curl -s -X POST -d '{"lol": "wut"}' https://jamiedubs-databin.web.val.run?key=foobar get: curl -s https://jamiedubs-databin.web.val.run?key=foobar
# {"lol":"wut"}