Catalog PyPI
PACKAGE EXPLORERView in registry

aidungeonapi

PyPI

AI Dungeon api for python

Versions collected1
Direct dependencies1From release 0.0.6
Last observed21 Oct, 10:34 UTC

README

Version 0.0.6 documentation

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())

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.0.625 Jul 20201

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
1macho/aidungeonapi

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 10:34 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:748a362bbb00e57bfc16f4679f936109140b0bbb6a9bd70e58f0c6603e510812