Sandpoint at a glance

I’m still relatively new to Pathfinder and tabletop RPGs in general, but being as I’ve just started
running The Rise of the Runelords Adventure Path Anniversary edition I’ve created a few handy
helper files.

pathfinder

One of this files is theĀ Sandpoint at a glance document.

This document has been exported as a easy to print PDF, and includes all locations of
shops and key points in the town of Sandpoint. I’ve also added key characters and
what the Latest Unpleasantness is.

Enjoy and let me know if you’ve found this useful for your Rise of the Runelords sessions.

Diablo III API

So I was doing a bit of research on a Diablo III API, and stumbled across this article:

http://us.battle.net/d3/en/forum/topic/4877377752

It seems they are still in the early stages, but there is a Character Calculator API, and it is in JSON.

First off we need to load in our Python libraries:

>>> from urllib2 import urlopen
>>> from json import loads

We can make our request using common URL methods:

>>> res = urlopen('http://us.battle.net/d3/en/data/calculator/monk').read()
>>> monk = loads(res)

Now we are given a simple Python dictionary:

>>> monk.keys()
[u'skills', u'traits']

And like most APIs these keys contain a list of objects:

>>> type(monk['skills'])
<type 'list'>
>>> type(monk['skills'][0])
<type 'dict'>

>>> monk['skills'][0].keys()
[u'tooltipParams', u'name', u'runes', u'simpleDescription', u'description', u'primary', u'slug',
u'requiredLevel', u'categoryName', u'categorySlug', u'icon']

So far so good, lets go ahead and itter over all our skills and get their names:

>>> for skill in sorted(monk['skills']):
...   print skill['name']
...
Blinding Flash
Serenity
Breath of Heaven
Inner Sanctuary
Mystic Ally
Cyclone Strike
Seven-Sided Strike
Mantra of Conviction
Mantra of Healing
Mantra of Retribution
Mantra of Evasion
Deadly Reach
Way of the Hundred Fists
Fists of Thunder
Crippling Wave
Tempest Rush
Lashing Tail Kick
Wave of Light
Dashing Strike
Exploding Palm
Sweeping Wind

So there you have it, using one of the new Diablo III APIs to get class information.