Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (12 sloc) 0.374 kb
#!/usr/bin/ruby
require 'reve'
# Create an instance of the API
api = Reve::API.new
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.