6.0.0 • Published 3 years ago
@datafire/wmata_rail_station v6.0.0
@datafire/wmata_rail_station
Client library for Rail Station Information
Installation and Usage
npm install --save @datafire/wmata_rail_station
let wmata_rail_station = require('@datafire/wmata_rail_station').create({
apiKeyHeader: "",
apiKeyQuery: ""
});
.then(data => {
console.log(data);
});
Description
Rail line and station information, including locations, fares, times, and parking.
Actions
5476364f031f5909e4fe3314
wmata_rail_station.5476364f031f5909e4fe3314(null, context)
Input
This action has no parameters
Output
Output schema unknown
5476364f031f5909e4fe3316
wmata_rail_station.5476364f031f5909e4fe3316({
"FromStationCode": "",
"ToStationCode": ""
}, context)
Input
- input
object
- FromStationCode required
string
(values: N06): Station code for the origin station. Use the Station List method to return a list of all station codes. - ToStationCode required
string
(values: G05): Station code for the origin station. Use the Station List method to return a list of all station codes.
- FromStationCode required
Output
Output schema unknown
5476364f031f5909e4fe331b
wmata_rail_station.5476364f031f5909e4fe331b({}, context)
Input
- input
object
- FromStationCode
string
(values: E10): Station code for the origin station. Use the Station List method to return a list of all station codes. - ToStationCode
string
(values: J03): Station code for the destination station. Use the Station List method to return a list of all station codes.
- FromStationCode
Output
Output schema unknown
5476364f031f5909e4fe3317
wmata_rail_station.5476364f031f5909e4fe3317({}, context)
Input
- input
object
- Lat
number
(values: 38.8978168): Center point Latitude, required if Longitude and Radius are specified. - Lon
number
(values: -77.0404246): 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.
- Lat
Output
Output schema unknown
5476364f031f5909e4fe3318
wmata_rail_station.5476364f031f5909e4fe3318({
"StationCode": ""
}, context)
Input
- input
object
- StationCode required
string
(values: A01): Station code. Use the Station List method to return a list of all station codes.
- StationCode required
Output
Output schema unknown
5476364f031f5909e4fe3315
wmata_rail_station.5476364f031f5909e4fe3315({}, context)
Input
- input
object
- StationCode
string
(values: E08, F06): Station code. Use the Station List method to return a list of all station codes.
- StationCode
Output
Output schema unknown
5476364f031f5909e4fe331a
wmata_rail_station.5476364f031f5909e4fe331a({}, context)
Input
- input
object
- StationCode
string
(values: E10): Station code. Use the Station List method to return a list of all station codes.
- StationCode
Output
Output schema unknown
5476364f031f5909e4fe3319
wmata_rail_station.5476364f031f5909e4fe3319({}, context)
Input
- input
object
- LineCode
string
(values: RD, YL, GR, BL, OR, SV): Two-letter line code abbreviation:
- LineCode
Output
Output schema unknown
5476364f031f5909e4fe330c
wmata_rail_station.5476364f031f5909e4fe330c(null, context)
Input
This action has no parameters
Output
Output schema unknown
5476364f031f5909e4fe330e
wmata_rail_station.5476364f031f5909e4fe330e({
"FromStationCode": "",
"ToStationCode": ""
}, context)
Input
- input
object
- FromStationCode required
string
(values: N06): Station code for the origin station. Use the Station List method to return a list of all station codes. - ToStationCode required
string
(values: G05): Station code for the destination station. Use the Station List method to return a list of all station codes.
- FromStationCode required
Output
Output schema unknown
5476364f031f5909e4fe3313
wmata_rail_station.5476364f031f5909e4fe3313({}, context)
Input
- input
object
- FromStationCode
string
(values: E10): Station code for the origin station. Use the Station List method to return a list of all station codes. - ToStationCode
string
(values: J03): Station code for the destination station. Use the Station List method to return a list of all station codes.
- FromStationCode
Output
Output schema unknown
5476364f031f5909e4fe330f
wmata_rail_station.5476364f031f5909e4fe330f({}, context)
Input
- input
object
- Lat
number
(values: 38.8978168): Center point Latitude, required if Longitude and Radius are specified. - Lon
number
(values: -77.0404246): 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.
- Lat
Output
Output schema unknown
5476364f031f5909e4fe3310
wmata_rail_station.5476364f031f5909e4fe3310({
"StationCode": ""
}, context)
Input
- input
object
- StationCode required
string
(values: A01): Station code. Use the Station List method to return a list of all station codes.
- StationCode required
Output
Output schema unknown
5476364f031f5909e4fe330d
wmata_rail_station.5476364f031f5909e4fe330d({}, context)
Input
- input
object
- StationCode
string
(values: E08, F06): Station code. Use the Station List method to return a list of all station codes.
- StationCode
Output
Output schema unknown
5476364f031f5909e4fe3312
wmata_rail_station.5476364f031f5909e4fe3312({}, context)
Input
- input
object
- StationCode
string
(values: E10): Station code. Use the Station List method to return a list of all station codes.
- StationCode
Output
Output schema unknown
5476364f031f5909e4fe3311
wmata_rail_station.5476364f031f5909e4fe3311({}, context)
Input
- input
object
- LineCode
string
(values: RD, YL, GR, BL, OR, SV): Two-letter line code abbreviation:
- LineCode
Output
Output schema unknown
Definitions
This integration has no definitions