abgespaced

An API that combines The DB Bahnhof API and the Space API
git clone git://archive.git.mtrnord.blog/MTRNord/abgespaced.git
Log | Files | Refs

nearby.graphql (1215B)


      1 query Nearby($latitude: Float!, $longitude: Float!, $radius: Int = 10000, $count: Int = 10){
      2     nearby(latitude: $latitude, longitude: $longitude, radius: $radius) {
      3         stations(count: $count) {
      4             name
      5             primaryEvaId
      6             hasLocalPublicTransport
      7             hasTaxiRank
      8             hasSteplessAccess
      9             hasWiFi
     10             picture {
     11                 id
     12                 url
     13                 license
     14                 photographer {
     15                     name
     16                     url
     17                 }
     18             }
     19             location {
     20                 latitude
     21                 longitude
     22             }
     23             timetable {
     24                 nextArrivals{
     25                     type
     26                     trainNumber
     27                     platform
     28                     time
     29                     stops
     30                 }
     31                 nextDepatures {
     32                     type
     33                     trainNumber
     34                     platform
     35                     time
     36                     stops
     37                 }
     38             }
     39             tracks {
     40                 platform
     41                 number
     42                 name
     43                 length
     44                 height
     45             }
     46         }
     47     }
     48 }