Amagi API 文档 - v5.13.0
    正在准备搜索索引...

    函数 getDouyinData

    • 获取抖音数据

      参数

      • ..._args: any[]

      返回 never

      v6 已废弃,请使用 douyinFetcher 或 client.douyin.fetcher 替代

      调用时抛出废弃错误

      // 旧用法 (已废弃,会抛出错误)
      const data = await getDouyinData('videoWork', { aweme_id: '123' }, cookie)

      // 新用法
      import { douyinFetcher } from '@ikenxuan/amagi'
      const data = await douyinFetcher.fetchVideoWork({ aweme_id: '123' }, cookie)

      // 或使用客户端实例
      const client = createAmagiClient({ cookies: { douyin: cookie } })
      const data = await client.douyin.fetcher.fetchVideoWork({ aweme_id: '123' })