1.0.0 • Published 4 years ago

trafi-tk v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

📖 API Documentation | Turkey >> Istanbul

Project under development

METRO

istanbulMetro()

{
  "transportNamePlural": "Metro",
  "transportName": "Metro",
  "metro": [
    {
      "scheduleId": "istm_M1A_20201120",
      "transportId": "istm_metro",
      "validity": null,
      "name": "M1A",
      "longName": "Yenikapı - Atatürk Havalimanı",
      "icon": "transport/istm_metro_metro_EE3124_M1A",
      "color": "EE3124",
      "stops": [Object]
    }
    // .....
  ]
}

MARMARAY

istanbulMarmaray()

{
  "transportNamePlural": "Marmaray",
  "transportName": "Marmaray",
  "marmaray": [
    {
      "scheduleId": "istm_Marmaray_20201201",
      "transportId": "istm_marmaray",
      "validity": null,
      "name": "",
      "longName": "Marmaray",
      "icon": "transport/istm_marmaray_metro_5DB1BC_",
      "color": "5DB1BC",
      "stops": [Object]
    }
  ]
  // .....
}

TRAMVAY

istanbulTramvay()

{
  "scheduleId": "istm_T1_20201120",
  "transportId": "istm_tram",
  "validity": null,
  "name": "T1",
  "longName": "Bağcılar - Kabataş",
  "icon": "transport/istm_tram_tram_004F7D_T1",
  "color": "004F7D",
  "stops": {
    "id": "istm_T1_20201120",
    "name": "T1",
    "longName": "Bağcılar - Kabataş",
    "color": "004F7D",
    "icon": "transport/istm_tram_tram_004F7D_T1",
    "transportName": "Tramvay",
    "tracks": [[Object], [Object], [Object], [Object]],
    "stops": [
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object],
      [Object]
    ]
  }
  // .....
}

FÜNIKÜLER

istanbulFunikuler()

{
  "transportNamePlural": "Füniküler",
  "transportName": "Füniküler",
  "Tramvay": [
    {
      "scheduleId": "istm_F1_20201120",
      "transportId": "istm_funicular",
      "validity": null,
      "name": "F1",
      "longName": "Taksim - Kabataş",
      "icon": "transport/istm_funicular_tram_7C7358_F1",
      "color": "7C7358",
      "stops": [Object]
    }
    // .....
  ]
}

TELEFERIKLER

istanbulTeleferikler()

{
  "transportNamePlural": "Teleferikler",
  "transportName": "Teleferik",
  "teleferikler": [
    {
      "scheduleId": "istm_TF1_20201120",
      "transportId": "istm_cablecar",
      "validity": null,
      "name": "TF1",
      "longName": "Maçka - Taşkışla",
      "icon": "transport/istm_cablecar_tram_68BCB0_TF1",
      "color": "68BCB0",
      "stops": [Object]
    }
    // .....
  ]
}

METRO BUS

istanbulMetroBus()

{
  "transportNamePlural": "Metrobüsler",
  "transportName": "Metrobüs",
  "teleferikler": [
    {
      "scheduleId": "ist_34",
      "transportId": "ist_metrobus",
      "validity": null,
      "name": "34",
      "longName": "Avcılar - Zincirlikuyu",
      "icon": "transport/ist_metrobus_metrobus_B26400_34",
      "color": "B26400",
      "stops": [Object]
    }
    // .....
  ]
}

:handshake: Contributing

  • Fork it!
  • Create your feature branch: git checkout -b my-new-feature
  • Commit your changes: git commit -am 'Add some feature'
  • Push to the branch: git push origin my-new-feature
  • Submit a pull request

:busts_in_silhouette: Credits


:anger: Troubleshootings

This is just a personal project created for study / demonstration purpose and to simplify my working life, it may or may not be a good fit for your project(s).


:heart: Show your support

Please :star: this repository if you like it or this project helped you!\ Feel free to open issues or submit pull-requests to help me improving my work.


:robot: Author

Chris Michael

You can follow me on github · twitter


Copyright © Trafi TK 2021