How to use RailPNRAPI to get PNR Status?

Here I’m sharing the sample code on How to consume API provided by railpnrapi.com to query Indian Railway PNR status: Register yourself on http://www.railpnrapi.com/ and get/generate API Key & API Secret. using Newtonsoft.Json;using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Net;using System.Security.Cryptography;using System.Text; namespace RailPnrAPI_SampleCode{    class Program    {        static void Main(string[] args)    … Read more

What is API and How to use it?

what is an api

Have you ever used a library in C#? Yes, that’s an API. An Application Programming Interface is something that let’s you interact with something or with an interface. They are just a set of functions you can call. They have their documentation on what they do, how they behave, what input(s) they need to perform as intended. … Read more