npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@datafire/wmata_bus_route

v6.0.0

Published

DataFire integration for Bus Route and Stop Methods

Downloads

2

Readme

@datafire/wmata_bus_route

Client library for Bus Route and Stop Methods

Installation and Usage

npm install --save @datafire/wmata_bus_route
let wmata_bus_route = require('@datafire/wmata_bus_route').create({
  apiKeyHeader: "",
  apiKeyQuery: ""
});

.then(data => {
  console.log(data);
});

Description

Bus stop information, route and schedule data, and bus positions.

Actions

5476362a281d830c946a3d6e

wmata_bus_route.5476362a281d830c946a3d6e({}, context)

Input

  • input object
    • RouteID string (values: 70): Bus route, e.g.: 70, 10A.
    • Lat string: Center point Latitude, required if Longitude and Radius are specified.
    • Lon string: Center point Longitude, required if Latitude and Radius are specified.
    • Radius string: Radius (meters) to include in the search area, required if Latitude and Longitude are specified.

Output

Output schema unknown

5476362a281d830c946a3d6f

wmata_bus_route.5476362a281d830c946a3d6f({
  "RouteID": ""
}, context)

Input

  • input object
    • RouteID required string (values: 70): Bus route variant, e.g.: 70, 10A, 10Av1.
    • Date string: Date in YYYY-MM-DD format for which to retrieve route and stop information. Defaults to today's date unless specified.

Output

Output schema unknown

5476362a281d830c946a3d71

wmata_bus_route.5476362a281d830c946a3d71({
  "RouteID": ""
}, context)

Input

  • input object
    • RouteID required string (values: 70): Bus route variant, e.g.: 70, 10A, 10Av1.
    • Date string: Date in YYYY-MM-DD format for which to retrieve schedule. Defaults to today's date unless specified.
    • IncludingVariations boolean (values: false, true): Whether or not to include variations. For example, if B30 is specified, include all variations such as B30v1, B30v2, etc.

Output

Output schema unknown

5476362a281d830c946a3d70

wmata_bus_route.5476362a281d830c946a3d70(null, context)

Input

This action has no parameters

Output

Output schema unknown

5476362a281d830c946a3d72

wmata_bus_route.5476362a281d830c946a3d72({
  "StopID": ""
}, context)

Input

  • input object
    • StopID required string (values: 1001195): 7-digit regional stop ID.
    • Date string: Date in YYYY-MM-DD format for which to retrieve schedule. Defaults to today's date unless specified.

Output

Output schema unknown

5476362a281d830c946a3d73

wmata_bus_route.5476362a281d830c946a3d73({}, context)

Input

  • input object
    • Lat string (values: 38.878586): Center point Latitude, required if Longitude and Radius are specified.
    • Lon string (values: -76.989626): Center point Longitude, required if Latitude and Radius are specified.
    • Radius string (values: 500): Radius (feet) to include in the search area, required if Latitude and Longitude are specified.

Output

Output schema unknown

5476362a281d830c946a3d68

wmata_bus_route.5476362a281d830c946a3d68({}, context)

Input

  • input object
    • RouteID string (values: 70): Base bus route, e.g.: 70, 10A.
    • Lat number: Center point Latitude, required if Longitude and Radius are specified.
    • Lon number: Center point Longitude, required if Latitude and Radius are specified.
    • Radius number: Radius (meters) to include in the search area, required if Latitude and Longitude are specified.

Output

Output schema unknown

5476362a281d830c946a3d69

wmata_bus_route.5476362a281d830c946a3d69({
  "RouteID": ""
}, context)

Input

  • input object
    • RouteID required string (values: 70): Bus route variant, e.g.: 70, 10A, 10Av1.
    • Date string: Date in YYYY-MM-DD format for which to retrieve route and stop information. Defaults to today's date unless specified.

Output

Output schema unknown

5476362a281d830c946a3d6b

wmata_bus_route.5476362a281d830c946a3d6b({
  "RouteID": ""
}, context)

Input

  • input object
    • RouteID required string (values: 70): Bus route variant, e.g.: 70, 10A, 10Av1, etc.
    • Date string: Date in YYYY-MM-DD format for which to retrieve schedule. Defaults to today's date unless specified.
    • IncludingVariations boolean (values: false, true): Whether or not to include variations if a base route is specified in RouteID. For example, if B30 is specified and IncludingVariations is set to true, data for all variations of B30 such as B30v1, B30v2, etc. will be returned.

Output

Output schema unknown

5476362a281d830c946a3d6a

wmata_bus_route.5476362a281d830c946a3d6a(null, context)

Input

This action has no parameters

Output

Output schema unknown

5476362a281d830c946a3d6c

wmata_bus_route.5476362a281d830c946a3d6c({
  "StopID": ""
}, context)

Input

  • input object
    • StopID required string (values: 1001195): 7-digit regional stop ID.
    • Date string: Date in YYYY-MM-DD format for which to retrieve schedule. Defaults to today's date unless specified.

Output

Output schema unknown

5476362a281d830c946a3d6d

wmata_bus_route.5476362a281d830c946a3d6d({}, context)

Input

  • input object
    • Lat number (values: 38.878586): Center point Latitude, required if Longitude and Radius are specified.
    • Lon number (values: -76.989626): Center point Longitude, required if Latitude and Radius are specified.
    • Radius number (values: 500): Radius (meters) to include in the search area, required if Latitude and Longitude are specified.

Output

Output schema unknown

Definitions

This integration has no definitions