2024-08-23

·Visit Project

My API

Written in js, provides all the backing data for my website. - Spotify, Activity, Repos, Weather etc

Table of Contents

  1. Introduction
  2. Used for
  3. API Endpoints

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.


#Tags

api
personal
myapi

Contact

Need more project details, have any doubts in mind, or interested in working together? Reach out to me directly at krushnavyas066@gmail.com. I'd be happy to connect and talk!

← All Projects