API Collection
Koson Technology
  • COUNTRY-STATE-CITY
  • INDIA-RAILWAY-TRAIN
  • SHANGHAI METRO API
    • All Line Number
    • All Line Timetable
    • Last Line Timetable
    • Line History
    • Line Colour
    • All Station Information
    • Search Station With Line
    • Search Station With Station ID
    • Search Station With Station Name
    • Last Station Timetable
    • Estimate Arrival Time
    • Check Price
    • Check Route
  • AIRPORT-INFO
  • INDIA-HOTEL
  • HK-FERRY-ROUTE
  • FLIGHT-TRACK
  • MALAYSIA-STATES
  • SINGAPORE-BUS
Powered by GitBook
On this page
  • Parameter Guidelines
  • Demo
  • Download
  1. SHANGHAI METRO API

Search Station With Line

Station Info Retrieval Based Metro Line Script Documentation

PreviousAll Station InformationNextSearch Station With Station ID

Last updated 1 year ago

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

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

Path Parameters

Name
Type
Description

line*

String

To specific desired line number

download

String

To download json file

Parameter Guidelines

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

Demo

Retrieve all station information of line 1:

Download

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

https://api.kosontechnology.com/shanghai-get-station.php?line=1
Retrieve line 1 station information
https://api.kosontechnology.com/shanghai-get-station.php?line=1&downloadapi.kosontechnology.com
Download line 1 station information