Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.374 kB
require 'reve'
# Create an instance of the API
api =
fids = [ 797400947 ] # converting from these IDs
fnames = [ 'CCP Garthagk' ] # converting from these names
ids = api.character_name({ :ids => fids })
names = api.character_id({ :names => fnames })
puts 'names to IDs output'
puts names.inspect
puts 'IDs to names output'
puts ids.inspect
Jump to Line
Something went wrong with that request. Please try again.