A simple library for interacting with the fan-made Genshin Impact API.
% yarn add gpactSet GPACT_API_URL to the current API URL, See here.
import { genshin } from 'gpact';
genshin.characters('amber').then(console.log); // Get character data| Name | Name | Last commit date | ||
|---|---|---|---|---|
% yarn add gpactSet GPACT_API_URL to the current API URL, See here.
import { genshin } from 'gpact';
genshin.characters('amber').then(console.log); // Get character data