# All Line Number

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

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

#### Path Parameters

| Name     | Type   | Description                |
| -------- | ------ | -------------------------- |
| download | String | To download the json file. |

## Parameter Guidelines

Refer to [SHANGHAI METRO API](/shanghai-metro-api.md) to have `download` guideline.

## Demo

Retrieve all line information:

{% embed url="<https://api.kosontechnology.com/shanghai-get-all-line.php>" %}
Retrieve all line number
{% 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-line.php?download>" %}
Download all line number
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-gitbook.kosontechnology.com/shanghai-metro-api/all-line-number.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
