Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEAT] 버스 통합 API 구현 #10

Merged
merged 12 commits into from
Jun 10, 2024
Merged

Conversation

junseokkim
Copy link
Contributor

@junseokkim junseokkim commented Jun 9, 2024

  1. 버스 통합 API 구현
    • 셔틀 버스 및 주변 정류장의 가장 빠른 버스 통합 조회
    • 조회가 안될 시 remainTime 필드값을 -1로 전달
    • response 예시
      {
        "shuttle": {
            "busStopName": "교내 셔틀 승강장(정석 뒤편)",
            "busStopNumber": null,
            "busNumber": "셔틀버스",
            "remainTime": -1,
            "remainBusStop": 0,
            "congestion": 0,
            "des": "주안역",
            "estimatedTime": 20,
            "isTransfer": false
        },
        "ddg": {
            "busStopName": "독정이고개",
            "busStopNumber": "37234",
            "busNumber": "13",
            "remainTime": 2391,
            "remainBusStop": 22,
            "congestion": 1,
            "des": "주안역",
            "estimatedTime": 22,
            "isTransfer": false
        },
        "yg": {
            "busStopName": "용현고가교",
            "busStopNumber": "37611",
            "busNumber": "511",
            "remainTime": 312,
            "remainBusStop": 5,
            "congestion": 1,
            "des": "주안역",
            "estimatedTime": 20,
            "isTransfer": false
        },
        "inhaFrontGate": {
            "busStopName": "인하대정문(1생활관 앞)",
            "busStopNumber": "37099",
            "busNumber": "516",
            "remainTime": 149,
            "remainBusStop": 3,
            "congestion": 1,
            "des": "주안역",
            "estimatedTime": 30,
            "isTransfer": false
          }
      }
      
      
  2. 511 버스 도착 정보 조회 API
    • 인하대 후문의 511 버스 도착 정보 조회
    • response
      {
            "busId": "165000073",
            "busNumber": "511",
            "busStopId": "163000165",
            "busStopNumber": "37165",
            "busStopName": "인하대후문",
            "remainTime": 419,
            "remainBusStop": 6,
            "congestion": 1
        }
      

@junseokkim junseokkim added the FEAT label Jun 9, 2024
@junseokkim junseokkim self-assigned this Jun 9, 2024
@junseokkim junseokkim linked an issue Jun 9, 2024 that may be closed by this pull request
Copy link
Contributor

@gourderased gourderased left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

엘찌뛰엠

@junseokkim junseokkim merged commit 2d2ace8 into develop Jun 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 버스 통합 추천 API 구현
2 participants