Line History

Line History Retrieval Script Documentation

GET https://api.kosontechnology.com/shanghai-get-history.php

This API Script is designed to retrieve line history from Shanghai Metro API using provided parameter

Path Parameters

NameTypeDescription

line*

String

To specific desired line number

download

String

To download the json file.

Parameter Guidelines

Refer to SHANGHAI METRO API to have line and download guideline.

Demo

Retrieve metro line history of line 1:

Download

Add download parameter at the end of link to download output in JSON format:

Last updated