I am using https://dictionaryapi.dev/ API.
Example https://api.dictionaryapi.dev/api/v2/entries/en/help
But when i go to extract the definition from the response I get this error
Here is my code:
I am using https://dictionaryapi.dev/ API.
Example https://api.dictionaryapi.dev/api/v2/entries/en/help
But when i go to extract the definition from the response I get this error
Here is my code:
the response is not a list of pairs.
post do it result to here as text, not photo
i have attempted to get all definitons for the word hello and it returns length of 7 lists
(blocks are draggable)
gives me the same error
I just want to make an app which gives a one-line definition of a word
Yes, it work.
but for every word this api will return multiple definitons, what will you do then? better show the result inlist view like this
Then you have to use one more if then condtion to select limited words items from the obtained result
(just my suggestion, here i am selecting the definitions having lenght less than 30 charaters)
sample aia
dictAPIcall.aia (37.7 KB)
Response
post the response Content as text, not photo
To be able to do this, you have to be familiar with the Do it debugging tool...
use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Try this guide? I think you're using the same API.