To get the data regarding the weather I'm using the API provided by Open-meteo.
To get the approximate color of the sky as well as the picture of the skyline I'm scraping NSKYC.
Open-meteo is queried and NSKYC is scraped once per hour. This is all handled by an AWS Lambda function. The data returned by the Lambda function is then stored in an AWS S3 bucket for easy access.
The data from Spotify is handled in a similar fashion. I use a Lambda function to refresh the token that allows me to access Spotify's API. The token expires every hour. The new token is stored in another S3 bucket. The app uses the token to query Spotify's API and retrieves my top five artists.
This app is built using Next.js, Typescript, and Tailwind CSS.
The app itself is hosted by Vercel.
<-- Back