1.0.4 • Published 4 years ago

genshin-impact-api v1.0.4

Weekly downloads
216
License
ISC
Repository
github
Last release
4 years ago

genshin-impact-api

genshin-impact is a npm package that has info on the game, 'Genshin Impact.'

let genshin = require("genshin-impact-api");
genshin.characters("amber");

และรันมัน!

{
    "name": "Amber",
    "title": "Champion Glider",
    "vision": "Pyro",
    "weapon": "Bow",
    "gender": "Female",
    "nation": "Mondstadt",
    "rarity": "4",
    "image": "https://vignette.wikia.nocookie.net/gensin-impact/images/0/00/Character_Amber_Portrait.png",
    "constellation": "Lepus",
    "birthday": "August 10th",
    "description": "A perky, straightforward girl, who is also the only Outrider of the Knights of Favonius. Her amazing mastery of the glider has made her a three-time winner of the Gliding Champion in Mondstadt. As a rising star within the Knights of Favonius, Amber is always ready for any challenging tasks.",
    "url": "https://genshin-impact.fandom.com/wiki/Amber"
}

คุณสามารถรับมันโดย

let genshin = require("genshin-impact-api");

genshin.characters("amber").weapon;

แล้วผลลัพธ์คือ

Bow
let genshin = require("genshin-impact-api");
genshin.map("enemies");

และรันมัน!

{
    "name": "Enemies",
    "map_url": "https://rerollcdn.com/GENSHIN/Map/map-enemies.png",
    "Interactive-Map": "https://genshin-impact-map.appsample.com/#/"
}

คุณสามารถรับมันโดย

let genshin = require("genshin-impact-api");

genshin.map("enemies").map_url;

แล้วผลลัพธ์คือ

https://rerollcdn.com/GENSHIN/Map/map-enemies.png

Note

จะพยายามอัพตามเกมส์ให้ทันนะครับเนื่องจาก API นี้ผมต้องมาหาเช็คตามเว็บเองเลยอาจะมี Delay อัพเดท

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago