# Route query interface

Public Transportation System/Subway lines.

# 1, request parameters

Parameter Name type Required Remarks
type int And type 0 - Metro 1 - Public transportation

# 2. Return parameters

Parameter Name type Required Remarks
Errcode int And Error code
errmsg string And Error message
results object N Line information

The results are as follows:

Parameter Name type Required Remarks
line_list away And Line information

Where results. line_Each entry in the list is as follows

Parameter Name type Required Remarks
id int And Unique id of line
start_station string And Starting station
end_station string And terminus
line_name string And Line name