Skip to main content
DwaPython
=========

[![Build Status](https://travis-ci.org/Salamek/DwaPython.svg?branch=master)](https://travis-ci.org/Salamek/DwaPython)


Python library to communicate with Divine Warfare game API http://api.divine-warfare.com/doc/

# Installation

pip install DwaPython

# Usage

Usage is simple:

```python

#import a library
from dwa import Dwa

#set API token and URI of api (http://api.divine-warfare.com/ or http://apitest.divine-warfare.com/ for testing purposes)
dwa = Dwa('32len_api_token', 'http://apitest.divine-warfare.com/')

#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 http://api.divine-warfare.com/doc/

```

Metadata

Release files for DwaPython 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for DwaPython 1.2.1
File Size Uploaded
DwaPython-1.2.1.tar.gz 19.8 kB Details

Release files / DwaPython-1.2.1.tar.gz

Download URL DwaPython-1.2.1.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c934f5f824622a7561a57a3dcbaf5e01235c1605c66a5753bdef6b68c401f4
BLAKE2b-256 checksum
How to use checksums
0cedabf18fd1fe42dd56f5ea2d5c7c925182f8182afc768b966c72a1d1eb2ea1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2.1 This release

1 release file

1.2.0

1 release file

1.1.4

1 release file

1.1.3

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page