class Wandrecities::Wandre

Public Instance Methods

search_for(username) click to toggle source
# File lib/wandrecities/wandre.rb, line 3
def search_for(username)
        url = 'https://www.wandre.space/api/search?q=' + username
        response = RestClient.get(url)
        JSON.parse(response)
end