Web_ICP6 - Nikii1118/Web-Programming- GitHub Wiki
Author:
Nikita Goyal Class Id -10
Introduction
Basics of Restful API how the angular hit the thrid party API and how we can get the data in the json format and accessing the particular key and value pairs.
TWO WEBSITES USED
-
FOURSQUARE API
-
EDMAM API
TASKS
-
Create an application in Angular which displays nearby restaurants (Hint: Use FoursquareAPI)
-
Create an application in Angular which displays recipes (Hint: Use EDAMAMAPI)
If possible, combine both the APIs in a single application. (Given starter code has both together. Change the UI if you are going use this)
Note: You must use the Angular (not the AngularJS)
CODE:
Created a Developers Account for Foursquare API and EDAMAM API
Code:
Output:
Conclusion: Came to know how to call the API and displays the results using Html, css and Angular