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.Common Namespace Reference

Classes

class  CacheWriter
 Used to write a cache files to the disk. More...
 
class  DateTimeOffsetConverter
 Converts a datetime value between its JSON representation and the object. More...
 
class  ParseBoolConverter
 Converts a datetime value between its JSON representation and the object. More...
 
class  ParseOperatorConverter
 Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. More...
 
class  ParseOperatorTimetableConverter
 Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. More...
 
class  ParseServiceObjects
 Converts a string short code for an Operator into an Operator Enum and back again for the JSON converter. More...
 
class  ParseStringConverter
 Converts a string into a long and back again for the JSON converter. More...
 
struct  Point
 Stores an X and Y Position simply. More...
 
class  UrlConstructor
 Returns back the URL needed to make a get command to the Reading Buses Open Data API. You can use this for testing purposes to check the API is returning what you were expecting. More...
 

Enumerations

enum  Company { ReadingBuses , NewburyAndDistrict , ThamesValley , Other }
 An Enum of the Operators Reading Buses owns or manages in their API. More...
 
enum  Direction { Inbound , Outbound }
 The direction in which a bus is traveling. More...
 

Enumeration Type Documentation

◆ Company

An Enum of the Operators Reading Buses owns or manages in their API.

Enumerator
ReadingBuses 

For Reading Buses services

NewburyAndDistrict 

For Newbury And District services

ThamesValley 

Thames Valley Buses (formerly known as Courtney Buses)

Other 

For any other operator which is new in the API and has not yet been officially supported in this library.

◆ Direction

The direction in which a bus is traveling.

Enumerator
Inbound 

For buses traveling inbound.

Outbound 

For buses traveling outbound.