Implement search, show_basic, show_detail and add_to_fav for theses
This commit is contained in:
@@ -36,6 +36,16 @@ class TissCrawler
|
||||
response.parsed_response['tuvienna']['course']
|
||||
end
|
||||
|
||||
def self.get_thesis_details(params)
|
||||
api = params[:api]
|
||||
id = params[:id]
|
||||
url = $host + api + id
|
||||
puts(url)
|
||||
|
||||
response = HTTParty.get(url)
|
||||
response.parsed_response['tuvienna']['thesis']
|
||||
end
|
||||
|
||||
def self.get_host
|
||||
$host
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user