9Y
9Yogesh9/Marvel-API
Marvel API | Vanilla JS (HTML, CSS, JS)
Marvel-API
Marvel-API explorer with features: Live Demo
- Fetch characters from marvel.
- Fetch details of a single character.
- Search characters with keywords.
- Add and remove favourite characters.
Highlights:
- Local storage is used to store the favourite characters.
- Calling api is skipped while displaying the favourite characters list by storing the key data (need to display cards) in local storage - Reduces the api calling overhead and loads page faster.
List of APIs Used :
- /v1/public/characters Fetches lists of comic characters with optional filters. See notes on individual parameters below.
- /v1/public/characters/{characterId} This method fetches a single character resource. It is the canonical URI for any character resource provided by the API.
Click Here ! To explore the world of Marvel.
Marvel api is copyright of © 2022 MARVEL.
Data provided by Marvel. © 2022 MARVEL
Screenshots:
Home Page:
Hero Details Page:
On this page
Languages
JavaScript45.6%CSS31.1%HTML23.4%
Contributors
Created December 13, 2022
Updated January 9, 2025

