# All Line Timetable

<mark style="color:blue;">`GET`</mark> `https://api.kosontechnology.com/shanghai-get-all-timetable.php`

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

#### Path Parameters

| Name     | Type   | Description           |
| -------- | ------ | --------------------- |
| download | String | To download JSON file |

## Parameter Guidelines

Refer to [](https://api-gitbook.kosontechnology.com/shanghai-metro-api "mention") to have `download` guideline.

## Demo

Retrieve all metro line timetable:

{% embed url="<https://api.kosontechnology.com/shanghai-get-all-timetable.php>" %}
Retrieve all line timetable
{% endembed %}

## Download

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

{% embed url="<https://api.kosontechnology.com/shanghai-get-all-timetable.php?download>" %}
Download all line timetable
{% endembed %}
