-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Afrofuturism edited this page Dec 29, 2020
·
2 revisions
Welcome to the TrinityPy wiki!
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.
See examples.
TrinityPyAuth.py documentation
TrinityPyDatabase.py documentation