Skip to content
This repository has been archived by the owner on Feb 18, 2023. It is now read-only.

xct007/rest-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express Rest APIS

Installation

  1. Install Modules
    npm install
    yarn
    yarn install
    
  2. Run
  • Dev
    npm run dev
  • Start
    npm run start

Endpoint

  • Tiktok
    /api/tiktok?url={TiktokUrl}
    
  • Pixiv
    /api/pixiv?mode={mode}&query={query}&random={random}&r18={r18}
    
    • eg
    /api/pixiv?mode=search&query=fgo&random=1&r18=1
    
    mode = ['search', 'get']
    query = string || int
    random = [0, 1] // 0 = false, 1 = true
    r18 = [0, 1] // 0 = false, 1 = true
    
    notes:
        if mode is 'get'
        and the query is not id from pixiv
        it will return random result
  • Youtube
    /api/youtube?url={url}
    
  • Image cecan
    /api/image/cecan
    
  • 18 xnxx
    /api/18/xnxx/search?query={query}
    
    /api/18/xnxx/download?url={url}