As the title suggests, many programming languages have third-party source code here. These codes will find you to check many services of Indian Railways like PNR status and all.
Railway API maintains a large and updated collection of train and station data, such as train live status, PNR status, arrival at the station, trains between stations, etc. are collected from various sources and then normalized.
This data is made available via API in a structured format.