Scrapped Genshin TCG Card API
This file only includes obtainable and unobtainable cards
Fork The Repo And Deploy The API On A Server Like
#Output
{
"Name":"Shenhe",
"ImgLink":"https://static.wikia.nocookie.net/gensin-impact/images/1/13/Shenhe_Dynamic_Skin.gif/revision/latest?cb=20230719001001"
,"Source":"Genshin Impact"
,"Faction":"Liyue",
"Element":"Cryo"
}
And once you get the base url, use:
> <base_url>/random
> <base_url>/random-element/<element_name>
> <base_url>/character/<character_name>
Or You Can Deploy On Terminal
First Clone The Project
$ git clone https://github.com/NemasisDarkX/Genshin-TCG-Card-API.git
To Install The Packages
$ npm i
To Start The API
$ npm start
base url
$ http://localhost:3000/
For Random Card
$ http://localhost:3000/random
For Random Card Based On Element
$ http://localhost:3000/random-element/<element_name_here>
For Card Of Specific Character
$ http://localhost:3000/character/<character_name_here>
I do not own the images provided in the json file
If You Find This Helpful Consider Giving This Repo A ⭐