This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Change history

Changelog

0.1 (09-13-10)

  • Initial release

0.2 (09-13-10)

  • Added doctest

0.3 (09-13-10)

  • More detailed doctest (also used as readme)

0.4 (09-16-10)

  • Fixed a typo in the doctest
  • Changed get_realm_status(self, name) and get_realm_type(self, name) to (self, * names)

Detailed Documentation

Introduction

The realmstatus-API reads the realmstatus-xml from wow-europe.com to get the status of a specified realm (“Realm Up/Realm Down”) and the type of the realm (PvE,PvP etc.).

Usage

To use the API, just do an import like this

>>> from realmstatus_api import Realmstatus

Mock Realmstatus.get_realm_status and Realmstatus.get_realm_type

Returns output similar to what we would get from the API, so that this test can be used while offline

>>> from test_realmstatus import mocked_get_realm_status, mocked_get_realm_type

Mocking the functions

>>> Realmstatus.get_realm_status = mocked_get_realm_status
>>> Realmstatus.get_realm_type = mocked_get_realm_type

First create an instance of the Realmstatus object

>>> realmstatus = Realmstatus()

To get the status of a realm, use get_realm_status(* names). If you want, you can get the status of multiple realms (in a dictionary)

>>> status = realmstatus.get_realm_status("Azshara")["Azshara"]
>>> status == "Realm Up"
True

To get the type of a realm, use get_realm_type(* names). If you want, you can get the type of multiple realms (in a dictionary)

>>> type = realmstatus.get_realm_type("Azshara")["Azshara"]
>>> type == "PvP"
True

Contributors

Marc Goetz, Author

Release History

Release History

0.4

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wow.realmstatusapi-0.4.zip (7.8 kB) Copy SHA256 Checksum SHA256 Source Sep 16, 2010

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