You are viewing information on version v2 of the Winnipeg Transit Open Data Web Service API.
This version has been deprecated

Variants API

A variation of a route, identified by its destination points.

Valid URL Parameters

name The name of the variant to search for.
stop Only return variants that service the given stop number.
stops A comma-delimited list of stop numbers. Don't include this if stop has been specified.
Common parameters:
usage The style of names to return.
  • long: Yields more verbose names.
  • short: Yields terser names.

Examples

Login to see sample results.

Identity

  • variants/F5-1-F
  • variants/22-0-P?usage=long
  • variants/1
  • variants/invalid

Filter

  • variants?stop=10064
  • variants?stops=10064,10065
  • variants?name=osbo
  • variants?stop=10064&stops=10065,10066

Wildcard

  • variants:F5
  • variants:F5-1
  • variants:F5-1-F
  • variants:osb
  • variants:

Explore the API

Login to explore the Variants API.

Noteworthy Results

key A unique identifier for this variant.
name The variant name. See the usage parameter for formatting options.
destinations Provides an xlink:href attribute to the Destinations service for this variant.