SkillAgentSearch skills...

AIDungeonAPI

Api to interface with AI dungeon (WIP)

Install / Use

/learn @mkualquiera/AIDungeonAPI
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

AIDungeonAPI

UNOFFICIAL Api to interface with AI dungeon

Example

from aidungeonapi import AIDungeonClient
import asyncio

async def callback(result):
    print(result)

async def blocking_task():
    while True:
        await asyncio.sleep(10)

async def main():
    aidc = await AIDungeonClient(debug=True)
    adventure = await aidc.connect_to_public_adventure('51e86616-507f-49f7-b07d-9a58b3261781')
    await adventure.register_actions_callback(callback)
    await asyncio.create_task(blocking_task())

asyncio.run(main())

Related Skills

View on GitHub
GitHub Stars15
CategoryDevelopment
Updated2y ago
Forks3

Languages

Python

Security Score

75/100

Audited on Jan 26, 2024

No findings