Check Route

Route Info Retrieval Script Documentation

GET https://api.kosontechnology.com/shanghai-check-route.php

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

Path Parameters

NameTypeDescription

departure_id*

String

To specific desired departure station id

destination_id*

String

To specific desired destination station id

ticket*

String

To specific desired ticket type

download

String

To download json file

Parameter Guidelines

Refer to SHANGHAI METRO API to have destination_id, departure_id, ticket and download guideline.

Demo

Retrieve all route information of departure_id 0926, destination_id 0737 and ticket 0:

Download

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

Last updated