How do you make multiple calls from a list ?
- Dominant language
- Python
- Stars
- 434
- Forks
- 103
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue mentions a Python list and an existing unirest.get call, but names no repository file, test, or entry point. Start by checking the project's Python usage documentation and determine whether this request belongs in documentation. Done would require a clear documented approach for obtaining each listed word's response body; the issue does not define a target file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100