API Use with JSON encoded data

We are using modules for this exemple, a quick video about modules available here:

For .NET Applications

The script below store in the "result" variable of string, a JSON string according to the API link given (https://ram-vlines.com/vam/api/flights.php?app=json)

VB.net:


C#:





To work with json in .NET languages, you need an json extention. We purpose you Newtonsoft.JSON NuGet. After installing, you need to import it to your project as below (In case you need to create a module named RamAPI):



VB.net:



C#:


Next