/Genshin-Impact-Image-API

A simple API Discord get random image Genshin Impact.

Primary LanguageJavaScriptMIT LicenseMIT

INFO

  • 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

Developers

  • Author: LynCute#2004
  • Contributors: ly#5580, Hy#1284

Check Logs

  • Created at: 16/02/2022
  • Updating Ver 1: 16/07/2022
  • Repulic project: 17/12/2022

Contents

GET API

Base URLs: https://gi-img-api.ak-team.repl.co/

Categories

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"}

Endpoints

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:

image image