An open interface for fetching data from the Tribes: Ascend servers.
Please see the wiki for a detailed breakdown of TA's network protocol.
Includes:
- Fetching basic player data (clan tag, XP, Gold, etc).
- Fetching server status data:
- Players online.
- Servers online.
- Fetching player rank and statistics.
- A web interface for controlling game servers.
This project is still deep in development, so the API is not very accessible yet. However, to test the current functionality, create a new Python script containing something like:
import network_api
API_CONFIG = {
'login_server': {
'ip': '45.79.222.67',
'port': 9000
},
'credentials': {
'user': 'your_user_name',
'hash': 'your_password_hash'
}
}
print(
network_api.connect({
'login_server': API_CONFIG['login_server'],
'user': API_CONFIG['credentials']['user'],
'hash': API_CONFIG['credentials']['hash']
})
)