Quickstart¶
Eager to get started? This page gives a good introduction to Travian Legends API. It assumes you already have API module installed. If you do not, head over to the Installation section.
A Minimal Application¶
A minimal application which use this API looks something like this:
1 2 3 4 5 6 7 8 9 | from travianapi import Account
url = 'your server url'
name = 'your username'
password = 'your password'
account = Account(url, name, password)
# use account
|