Skip to content
Afrofuturism edited this page Dec 29, 2020 · 2 revisions

Welcome to the TrinityPy wiki!

Before using the library

You've got to connect to your database first. Just like the following:

import TrinityPyDatabase
import TrinityPyAuth

TrinityPyDatabase.connect("127.0.0.1", 3306,
                          "trinity", # Your SQL username
                          "trinity", # Password for your SQL user
                          "auth", # Name of your TrinityCore auth database
                          "characters") # Name of your TrinityCore characters database


# That's it! You can now use any other API functionality.

Examples

See examples.

Further steps

TrinityPyAuth.py documentation
TrinityPyDatabase.py documentation

Clone this wiki locally