عکس keyone2693
Iran Railway-Trains (Raja-Fadak-Safir) all in one package for DotNet (Api-WebService)C#
موضوع‌ها
۰
فورک‌ها
۵
ستاره‌ها
۱۱
تاریخ ایجاد
۲۰ آذر ۱۳۹۸
آخرین بروزرسانی
۱۹ روز قبل
لایسنس
MIT License

IRTrainWebService

Iran Railway-Trains (Raja-Fadak-Safir) all in one package for DotNet (Api-WebService)

Development

Before posting new issues: Test samples

Note that: you should register on Fadak-Raja-Safir website and get your username and password to using this package also its possible to just use one of these services(Fadak-Raja-Safir) :)

Build status NuGet GitHub issues GitHub stars GitHub license

Current version: 2.2.x [Stable]

In this version: you have the "Fadak" service completely good to go [Stable] and you can use it if you had the username-password

The "Raja" system under development [Not Stable !!!] the only thing still not working is two or three methods of Raja system, that's it !!!

and the "Safir" system I am working on it [Not Implemented Yet :(]

Overview

Cross-platform by design

you can use it in both .net core and .net framework its use .net standard

Easy to install

Use library as dll, reference from nuget or just use this in package manager console

Install-Package IRTrainDotNet

Features

Currently the library supports following method:

You can use these methods both Async and nonAsync :)


  • Login
  • ValidateTokenWithTime
  • ValidateTokenWithRequest
  • GetStations
  • GetStationById
  • GetLastVersion
  • GetWagonAvailableSeatCount
  • LockSeat
  • LockSeatBulk
  • UnlockSeat
  • SaveTicketsInfo
  • RegisterTickets
  • TicketReportA
  • RefundTicketInfo
  • RefundTicket
  • UserSales
  • AgentCredit

Wiki In Persian

Download Persian Documentation

License

MIT