Skip to content

Latest commit

 

History

History
52 lines (49 loc) · 1.01 KB

README.md

File metadata and controls

52 lines (49 loc) · 1.01 KB

anime-sk-hianime

API supports retrieving anime intro, outro information from hianime

Usage

/list-episodes?name=<string>

Get the episode list and some related information from the anime name

interface ListEpisodes {
  poster: string
  progress: {
    current: string
    total: string
  }
  name: string
  jName?: string
  id: string
  list: {
    id: string
    order: string
    name: string
    title?: string
  }[]
}

/episode-skip/<id>

Get the name, intro and outro information of the anime episode. id is the episode id taken from the /list-episodes?name=<string> api

interface InOutroEpisode {
  sources: string
  tracks: {
    file: string
    label: string
    kind: "captions"
    default?: true
  }[]
  encrypted: boolean
  intro?: {
    start: number
    end: number
  }
  outro?: {
    start: number
    end: number
  }
  server: number
  thumbs: string | null
}

License

(C) 2024-now BSD-3-Clause license