Skip to main content

Python library to communicate with Divine Warfare game API

Project description


[![Build Status](](

Python library to communicate with Divine Warfare game API

# Installation

pip install DwaPython

# Usage

Usage is simple:


#import a library
from dwa import Dwa

#set API token and URI of api ( or for testing purposes)
dwa = Dwa('32len_api_token', '')

#get user obj
user = dwa.user()

#get list of users
list_of_users = user.list({'limit': 20, 'page': 0})

#get user token info
user_token_info = user.token({'username': 'test', 'password': 'test'})

#get server obj
server = dwa.server()

#get list of servers
list_of_servers = server.list({'limit': 20, 'page':0})

#More info on


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

DwaPython-1.2.1.tar.gz (19.8 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page