- A simple API Discord get random image Genshin Impact.
- API still developing.
- Contribute image - My server: Click Here!
- Made with ❤️ GI.
- Thanks for using my API >3
- Author: LynCute#2004
- Contributors: ly#5580, Hy#1284
- Created at: 16/02/2022
- Updating Ver 1: 16/07/2022
- Repulic project: 17/12/2022
Base URLs:
https://gi-img-api.ak-team.repl.co/
To send a request to the api, you will need a category to specify.
- Method: GET
- Path:
/api/genshin
- Query Parameters: none
- Response:
{"method":"GET","base_url":"https://gi-img-api.ak-team.repl.co/api/genshin/:endpoint","endpoints":"https://gi-img-api.ak-team.repl.co/api/genshin","github":"https://github.com/LynCute2004/Genshin-Impact-Image-API"}
List endpoints:
/character
/cosplay
Example request:
// npm install axios
const base_url = ["https://gi-img-api.ak-team.repl.co"]
axios.get(`${base_url}/api/genshin/:endpoint`)
.then(res => { console.log(res.data.url) })
Previews: