@__dirname/pixiv-web-api
    Preparing search index...

    Function requestJSON

    • parse the Response to JSON

      Type Parameters

      • T = any

      Parameters

      • endpoint: string
      • query: RequestQuery = {}
      • Optionaldata: any
      • Optionaltype: RequestType

      Returns Promise<T>