module Dofus::Api
Public Class Methods
get_character(name, server)
click to toggle source
Gets a character given its name and server. This method uses the fact that aa character name is unique for a given server. @param [String] name the name of the character to look for. @param [String] server the server on which the character has been created. @return [Hash] a hash containing all the informations about the character, or an empty hash if the character doesn’t exist.
# File lib/dofus/api.rb, line 36 def self.get_character(name, server) CharacterGrabber.instance.grab(name, server) end