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.5 (09-13-10)

  • Initial release

0.6 (09-13-10)

  • Added doctest

0.7 (09-13-10)

  • More detailed doctest (also used as readme)

0.8 (09-16-10)

  • Fixed a typo in the doctest
  • Modified to fetch en_GB XML if Plone language is “en”, if “de” -> de_DE XML, for better i18n (getCharacter(self, raiderName, raiderServer, raiderZone) -> getCharacter(self, raiderName, raiderServer, raiderZone, language))

Detailed Documentation

Introduction

The armory-API is a modified version of the armorypy @ http://code.google.com/p/armorypy/.

The additional info you can get from it:

  • Primary & secondary spec with name and icon (to build a icon link with wowhead or wow-europe)
  • Major and minor glyphs for the active spec with name, type and effect
  • 2v2, 3v3 and 5v5 arenateams with name, rating and ranking
  • Secondary professions (cooking, fishing etc.) with name and value
  • Prefix titles, such as Private, Twilight Vanquisher etc.

Usage

To use the API, just do an import like this

>>> from armory_api import Armory

Mock Armory.getCharacter

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

>>> from test_armory import mocked_getCharacter

Mocking the function

>>> Armory.getCharacter = mocked_getCharacter

First create an instance of the Armory object

>>> armory = Armory()

To get the character info, use getCharacter(name, realm, zone, language) currently only “de” and “en” are supported

>>> raider = armory.getCharacter("Kutschurft","Azshara","EU", "en")

Now you can get the info with get(<key>)

>>> name = raider.get("name")
>>> name == "Kutschurft"
True

>>> server = raider.get("server")
>>> server == "Azshara"
True

>>> zone = raider.get("zone")
>>> zone == "EU"
True

Contributors

Marc Goetz, Author

Release History

Release History

0.8

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.7

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.6

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.5

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.armoryapi-0.8.zip (10.5 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