edgeeffect
Polyglot computer programmer, failed digital artist & barely competent electronics engineer from Swindon, UK
Public vals
2
edgeeffect
WebsiteFrontPageAlbum
HTTP
To easily let browser JavaScript use albums from imgbb.com
you can call the URL of this Val with the parameter album holding the album ID string.
It will reduce it down to a JSON object containing a list of the images in that album in the format: [
{"url": "...", "title": "..."},
...
] If there are any errors, it'll just return an empty JSON array.
0
edgeeffect
whatDoYouThinkOfItSoFar
Cron
What Do You Think of it so far? Rubbish! Our bin men (garbage men to you) come round every Friday morning.
But alternate weeks, they take either rubbish or recycling. This val extracts from our local council website which collection they're doing this week
and E. mails me the details every Thursday afternoon. I've hidden the URL in an environment variable (sorry) but the URL has details of our address
and I'm not sure how happy our local council would be to start getting loads of hits from all round the world.
But it's here as a sample of how easy it is to scrape a website and E. mail the details to yourself. And, on that subject, can I just say "hats off to val.town", I've been looking for a little
cloud host that will let me E. mail myself from a cron for absolutely ages.
2