getSpellList(Class, level, delim) : Default delim to "," which would return comma delineated string list. If "json" is delim, return JSON Array. Similar to other functions in MT (like Wiki: getSelected()).
+Pull Domain spell by type/level.
+Pull Bloodline spell by type/level.
getDomainSpell(Domain Name, Level, delim)
getBloodlineSpell(Bloodline Name, Level, delim)
Delim handled as above.
This will just dump you on those info pages for easy link from character sheets. You might have something for this already since you have allowed people to set a Class home.+Shortcut to display Bloodline info.
+Shortcut to display Domain Info.
I am assuming that pfspells. will be appended to those function names.
Speaking of bloodlines, I noticed that most (but not all) of the bloodlines on the bloodline list page have "Bloodline" in the name. That's redundant (and I don't think it's always been that way.) You can just list the bloodline names. The ones with "Sorcerer" do need to keep that though.