Reading Buses APIV2.1.0
A C#, .net Standard Library for the Reading Buses Open Data API (http://rtl2.ods-live.co.uk/cms/apiservice), available to use in your C# console, WPF, UWP or Win Form Applications.
ReadingBusesAPI.Common Namespace Reference

Classes

class ParseOperatorConverter
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 Direction { Direction.Inbound, Direction.Outbound }
The direction in which a bus is traveling. More...
enum Company { Company.ReadingBuses, Company.Kennections, Company.NewburyAndDistrict, Company.Other }
An Enum of the Operators Reading Buses owns or manages in their API. More...

Enumeration Type Documentation

Company

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

Enumerator
ReadingBuses

For Reading Buses services

Kennections

For Kennections services

NewburyAndDistrict

For Newbury And District services

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.