MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    Solved 如何获取authkey

    HTTP API和第三方SDK
    2
    5
    707
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • xiao_zheng
      xiao_zheng 摸鱼 last edited by

      尝试使用Rubirai写插件,但是要求需要authkey,而github上的链接已失效、在mirai-api-http的API文档中也没有找到相关教程。
      故求问论坛各位大佬 如何获取authkey(
      https://pic4.58cdn.com.cn/nowater/webim/big/n_v2328a6c98425745ccae800817795a4eae.png
      图中的authkey链接指向的是github上的文档.

      • Rubirai是mirai-api-http插件的Ruby类库
      1 Reply Last reply Reply Quote 0
      • Bilibili-Initial-heart
        Bilibili-Initial-heart last edited by

        我想...也许...我没理解错的话......
        这里指的是你 mirai-api-http 设置的 verifyKey 吧......
        而且,如果你使用 Rubirai,那么你应该使用 mirai-api-http 的 1.x 版本而不是 2.x 版本
        在 mirai-api-http 的 1.x 版本中,配置是 authkey
        并不推荐你继续尝试使用 Rubirai,如果你执意使用 Ruby,那么我推荐你直接与 mirai-api-http 通信。

        1 Reply Last reply Reply Quote 1
        • Bilibili-Initial-heart
          Bilibili-Initial-heart last edited by

          具体的,你可以查阅 mirai-api-http 的相关文档

          1 Reply Last reply Reply Quote 0
          • Bilibili-Initial-heart
            Bilibili-Initial-heart last edited by

            不考虑其他的安全性或兼容性问题,光是性能就够你头疼了

            1 Reply Last reply Reply Quote 0
            • xiao_zheng
              xiao_zheng 摸鱼 last edited by

              @bilibili-initial-heart idea在本机或者服务器运行都好卡…所以打算试试rubirai玩玩()

              1 Reply Last reply Reply Quote 0
              • Topic has been marked as solved  xiao_zheng xiao_zheng 
              • 1 / 1
              • First post
                Last post
              Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact