This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rest_client' | |
require 'json' | |
#Initialization: Load the words into a usable format from the API. | |
#These are the only settings you would need to change if you were a different user: | |
#Goto: https://www.lingq.com/accounts/apikey/ to find your API Key | |
api_key = 'YOUR API KEY GOES HERE. CHANGE THIS!' | |
lang_code = 'ko' #for Korean, en for English, etc. | |
#The voice to use for your target language |