Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python library to communicate with Divine Warfare game API

Project Description
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/

```
Release History

Release History

This version
History Node

1.2.1

History Node

1.2.0

History Node

1.1.4

History Node

1.1.3

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
DwaPython-1.2.1.tar.gz (19.8 kB) Copy SHA256 Checksum SHA256 Source Oct 5, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting