# 05 Performing CRUD operations on an API (JSON) ## Instruction video's The video's below explain some of the basic rules about doing **asynchronous CRUD operations** **on a web service** in C#. You are free to watch them whenever you want, but (as was announced in the theory classes) ## From JSON data to a C# class Make sure you watch this video on how to manually analyse the JSON data and translate it to a C# class to avoid headaches in the future when using existing API's! API overview of the endpoints used in the video: [https://programming-quotes-api.herokuapp.com/](https://programming-quotes-api.herokuapp.com/) <iframe src="https://howest.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=7e7f6f90-dfdb-451a-9b18-af3000f505c3&autoplay=false&offerviewer=true&showtitle=true&showbrand=true&captions=false&interactivity=all" height="405" width="720" style="border: 1px solid #464646;" allowfullscreen allow="autoplay"></iframe> ## GET data async In this video, we will get a random quote object and a list of quotes. <iframe src="https://howest.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=ab9c65de-4d67-4eb5-8d36-af3000f5054a&autoplay=false&offerviewer=true&showtitle=true&showbrand=true&captions=false&interactivity=all" height="405" width="720" style="border: 1px solid #464646;" allowfullscreen allow="autoplay"></iframe> ## Manipulate (PUT/POST/DELETE) data async Note that all methods in this video contain **sample code** on how to do these operations, however they will not actually work with this API. <iframe src="https://howest.cloud.panopto.eu/Panopto/Pages/Embed.aspx?id=c639477c-c21c-4b09-bd78-af3000f50572&autoplay=false&offerviewer=true&showtitle=true&showbrand=true&captions=false&interactivity=all" height="405" width="720" style="border: 1px solid #464646;" allowfullscreen allow="autoplay"></iframe>