shmetro-traffic-enquiry
Created|Personal Projects
shmetro-traffic-enquiry
Shanghai Metro daily traffic checker
For querying Shanghai Metro daily traffic data. The data is sourced from official Weibo posts.
Shanghai Metro’s daily traffic data is typically released the following day via its official Weibo account. This project scrapes and parses the latest updates from the Official Shanghai Metro Weibo (UID: 1742987497) to extract traffic information for a specified date.
Features
- Query Yesterday’s Traffic: Get the total Shanghai Metro traffic data for the previous day
- Query Traffic on Specific Date: Supports querying traffic data for any historical date (as long as it’s recorded on Weibo)
- API Connection Test: Provides a test function to verify the connection to the Weibo API
- Various error handling mechanisms and automatic retry mechanisms
Accessing
本项目已在 GitHub 上开源。
🔗 shmetro-traffic-enquiry on GitHubFound an issue, bug, or want to make a suggestion?
Please report in the “Issues” section of this GitHub project:
- Click “New issue”.
- Write a title and description as required.
- Click “Create”. You can also press Ctrl + Enter on Windows PC or ⌘ ⏎ on Mac.
References
上海地铁shmetro. (2025, July 11). 【地铁网络客流】[Weibo post]. Weibo. https://weibo.com/1742987497
Copyright NoticeThis post is licensed under CC BY-NC-SA 4.0. Credit the source when reposting.
