Artifacts MMO Python SDK

A Python SDK for the Artifacts MMO API with sync and async support.

pip install artifacts-mmo

Quick Start

Sync:

from artifacts import ArtifactsClient

with ArtifactsClient(token="your_token") as client:
    char = client.character("MyCharacter")
    char.move(x=1, y=2)
    char.gather()
    char.fight()

Async:

from artifacts import AsyncArtifactsClient
import asyncio

async def main():
    async with AsyncArtifactsClient(token="your_token") as client:
        char = client.character("MyCharacter")
        await char.move(x=1, y=2)
        await char.fight()

asyncio.run(main())

Documentation

Advanced Topics

Indices and tables