Hello
I'm looking to loop print synonyms for each item from my list
myList = ["First", "Second", "Third"]
tried few loop methods with no success, please help
to print them manually 1 by 1 the command is
response = unirest.get("https://wordsapiv1.p.mashape.com/words/first/synonyms",
headers={
"X-Mashape-Key": "**X-Mashape-Key",
"Accept": "application/json"
}
)
response.body
this will print synonyms for word "First"
How do i loop to print body for all the words in my list ?
Thanks