In this video, I'll give you the task for today's exercise.
And the task consists of creating a new app and that will be an API.
So you need to build an API as part of this exercise.
Now, before I explain you the exact task for today, let me demonstrate you the API that you need to
build.
So this is how it works.
This API.
Returns the definition of English words.
For example, when the user enters the domain slash API slash v one and then they enter a word such
as pillow.
They get this dictionary.
So the dictionary should return the definition of the word pillow in this case and also the word itself.
Let's try in other words, let's say sun again, we get the definition.
So that's the key definition and the value.
In this case, we have multiple values, but it's still the same string.
So sun has multiple meanings.
You have meaning one up to here.
And then we have this backslash and then meaning two up to here.
But it's still one string.
And then again we have the word key and its value son, which is the word that the user entered.
So any word that the users enter here as part of the URL will be sent to your program and your program
will return its definition here.
Now this.
Sides if you visit the home page.
Should also have.
A basic home page which could look like this.
So basically you give the format to the users and an example of a URL request.
So basically some simple documentation.
So that's the final program that you build and you'll build it across two days starting today and also
tomorrow.
So the task for today, your task is to create this home page.
And also when the users enters a world such as Sun, for example, what you should return as part of
the definition here is not the definition itself, but simply.
Return.
The same word that the user entered here, but in capital letters.
So your output should look something like this.
Just for today.
So instead of the actual definition, just.
Get the user's words and return its uppercase version like this.
So that's just to take things step by step.
So tomorrow I'll give you the actual data set which has all the words and the definitions.
So these are CSV data and then you can simply implement the actual data to make the final lab.
But for today, two tasks the home page and this.
Kind of output for the part of the API.
Yeah.
Good luck with that.