My API
Written in js, provides all the backing data for my website. - Spotify, Activity, Repos, Weather etc
Table of Contents
Introduction
This is a RESTful API built with Node.js and Express that provides various endpoints for retrieving information such as weather data, my Discord profile, my Spotify activity, and blog details.
Used for
- Spotify History and Now Playing API / Provides realtime queue for portfolio.
- Blog System for portfolio.
- Local weather
API Endpoints
Weather
Endpoint: /api/v1/weather
Method: GET
Description: Retrieves the current weather information of Mumbai.
DProfile
Endpoint: /api/v1/dprofile
Method: GET
Description: Retrieves profile information from two sources: dcdn.n0step.xyz
and external
.
Spotify
Endpoint: /api/v1/spotify
Method: GET
Description: Retrieves the last song played on Spotify.
Blogs
Endpoint: /api/v1/blogs
Method: GET
Description: Retrieves a list of blogs, including titles, descriptions, and publication dates.
Projects
Endpoint: /api/v1/projects
Method: GET
Description: Retrieves a list of projects, including titles, descriptions, and creation/development dates.