A simple library for interacting with the fan-made Genshin Impact API.
% yarn add gpact
Set GPACT_API_URL
to the current API URL, See here.
import { genshin } from 'gpact';
genshin.characters('amber').then(console.log); // Get character data
% yarn add gpact
Set GPACT_API_URL
to the current API URL, See here.
import { genshin } from 'gpact';
genshin.characters('amber').then(console.log); // Get character data
npm i gpact
1
1.3.7
MIT
20.2 kB
6