Reading Buses API V3.0.0
A C#, .net Standard Library for the Reading Buses Open Data API (https://reading-opendata.r2p.com/), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.BusStops.BusStopIntermediary Class Reference

Stores information about a single bus stop and single service. Related to the raw output of the "List Of Bus Stops" API. This API returns the same stop multiple times with each service that visites it treated as a new stop? More...

Public Member Functions

 BusStopIntermediary ()
 The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update. More...
 
BusService GetService ()
 Gets the services mentioned at this stop. More...
 

Properties

string ActoCode [get, set]
 The unique identifier for a bus stop. More...
 
string CommonName [get, set]
 The public, easy to understand stop name. More...
 
string Latitude [get, set]
 The latitude of the bus stop More...
 
string Longitude [get, set]
 The longitude of the bus stop More...
 
string Bearing [get, set]
 The bearing of the bus stop More...
 
Company OperatorCode [get, set]
 The Brand/Group of buses that most frequently visit this stop. Such as Purple, for the Purple 17s. More...
 
string RouteCode [get, set]
 The service ID for a service stopping at the stop. More...
 

Detailed Description

Stores information about a single bus stop and single service. Related to the raw output of the "List Of Bus Stops" API. This API returns the same stop multiple times with each service that visites it treated as a new stop?

Constructor & Destructor Documentation

◆ BusStopIntermediary()

ReadingBusesAPI.BusStops.BusStopIntermediary.BusStopIntermediary ( )

The default constructor, used only for JSON Parsing. Will be made internal when System.Text.Json add support for internal constructors in a future update.

Member Function Documentation

◆ GetService()

BusService ReadingBusesAPI.BusStops.BusStopIntermediary.GetService ( )

Gets the services mentioned at this stop.

Returns
Bus Service object connected to the stop. Returns null if invalid API data.

Property Documentation

◆ ActoCode

string ReadingBusesAPI.BusStops.BusStopIntermediary.ActoCode
getset

The unique identifier for a bus stop.

◆ Bearing

string ReadingBusesAPI.BusStops.BusStopIntermediary.Bearing
getset

The bearing of the bus stop

◆ CommonName

string ReadingBusesAPI.BusStops.BusStopIntermediary.CommonName
getset

The public, easy to understand stop name.

◆ Latitude

string ReadingBusesAPI.BusStops.BusStopIntermediary.Latitude
getset

The latitude of the bus stop

◆ Longitude

string ReadingBusesAPI.BusStops.BusStopIntermediary.Longitude
getset

The longitude of the bus stop

◆ OperatorCode

Company ReadingBusesAPI.BusStops.BusStopIntermediary.OperatorCode
getset

The Brand/Group of buses that most frequently visit this stop. Such as Purple, for the Purple 17s.

◆ RouteCode

string ReadingBusesAPI.BusStops.BusStopIntermediary.RouteCode
getset

The service ID for a service stopping at the stop.


The documentation for this class was generated from the following file: