API
Updated Published 1 min read
My personal api is available at https://dnnsmnstrr.vercel.app/api/
Available routes:
| Route | Description |
|---|---|
/dennis | Returns information about me |
/events | A list of events in my life (used for my life-timeline) |
/social | Returns a json of my social-urls |
/social/ + (facebook, twitter, instagram, linkedin, github, youtube, spotify, telegram) | Gets a redirect to the given profile page |
/playlist | Returns a json of my spotify playlists |
/playlist/ + (current) | Gets a redirect to a specific playlist |
/playlist/random | Redirects to a random playlist |
/redirect | Dynamically returns a redirect, matched to a list of aliases with fallback to social links and my homepage |
Much of the data made available through this api is stored in gists.
gist.github.com/dnnsmnstrr/a36fa8e855b19e9ebddb8a2878103b04
Resources
- Sheety turns a spreadsheet into an API
Links from this note 2
- SpotifyI listen to a lot of music. That's why I make a new playlist every season 🌸☀️🍂❄️ My playlists are also documented on a Universe page (there's a gif for every playlist) The…
- RedirectingWhile working on my api, I figured out a way to set up a system of dynamic redirects with alias matching. This means I can define multiple links that all redirect to a specific…
Links to this note 9
- AcronymsA list of acronyms I like, use alot or want to remember A AAA - Arrange, Act, Assert (for writing good tests) AIDA – Attention, Interest, Desire, Action (marketing concept) api –…
- CloudflareSince July 2022, my website is set up to use Cloudflare. It supposedly makes accessing the site faster, but I mainly like it for the DNS controls, which will hopefully be able to…
- GistGithub's gist service let's you store text files that can be embedded in websites. I often store code snippets or small scripts I created here, so they can be found and used by…
- LifeThroughout my life, I've moved around a bunch, as can be seen by looking at a timeline of my life: Timeline In this visualization, each block represents one week of my life.…
- PopclipExtensions Popclip offers many extensions, I like these: Activate alfred Brackets Character / Word Count Formatting Run in Terminal Sort selected Lines ChatGPT ai Extension…