• Stars
    star
    370
  • Rank 115,405 (Top 3 %)
  • Language
    Java
  • License
    Apache License 2.0
  • Created almost 10 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Language bindings generated from the GTFS Realtime protocol buffer spec for popular languages.

gtfs-realtime-bindings Join the MobilityData chat

Language bindings generated from the GTFS Realtime protocol buffer spec for popular languages.

Introduction

GTFS Realtime is a data format for communicating real-time information about public transit systems. GTFS Realtime data is encoded and decoded using Protocol Buffers, a compact binary representation designed for fast and efficient processing. The data schema itself is defined in gtfs-realtime.proto.

To work with GTFS Realtime data, a developer would typically use the gtfs-realtime.proto schema to generate classes in the programming language of their choice. These classes can then be used for constructing GTFS-realtime data model objects and serializing them as binary data or, in the reverse direction, parsing binary data into data model objects.

Because generating GTFS Realtime data model classes from the gtfs-realtime.proto schema is such a common task, but also one that sometimes causes confusion for first-time developers, this project aims to provide pre-generated GTFS Realtime language bindings for a number of the most popular programming languages. Where possible, these language bindings will be published as packages to facilitate their use in other projects.

Supported Languages

Other Languages

We don't provide generated code for C++, use the official protoc compiler for that (from here or here)

Are we missing your favorite language? Consider contributing:

  1. Read CONTRIBUTING.md.
  2. Open a pull request with your language of choice. Please include update instructions (ideally, scripts). Also, provide packaging suitable for the language ecosystem.

Project History

This project was originally created by Google - MobilityData started to maintain the project in early 2019.

Older versions of the bindings libraries are still published under Google's name. See the documentation for each language here to find the last version published by Google.

More Repositories

1

awesome-transit

Community list of transit APIs, apps, datasets, research, and software πŸšŒπŸŒŸπŸš‹πŸŒŸπŸš‚
1,334
star
2

gbfs

Documentation for the General Bikeshare Feed Specification, a standardized data feed for shared mobility system availability. Maintained by MobilityData
784
star
3

gtfs-validator

Canonical GTFS Validator project for schedule (static) files.
Java
287
star
4

mobility-database-catalogs

The Catalogs of Sources of the Mobility Database.
Python
257
star
5

gtfs-flex

NOTICE: GTFS-Flex has been merged to GTFS. This repo is no longer up-to-date and will deprecated. Consult the google/transit repo for the up-to-date info.
117
star
6

gtfs-realtime-bindings-php

PHP
36
star
7

GTFS_Schedule_Best-Practices

Best Practices for structuring General Transit Feed Specification Schedule data
33
star
8

gbfs-json-schema

JSON Schema for GBFS feeds, managed by MobilityData. The versions are organized by folders. CC BY 4.0
Go
23
star
9

gbfs-validator

The canonical GBFS validator. Maintained by the GBFS community, facilitated by MobilityData.
JavaScript
18
star
10

gtfs.org

Source code and content for gtfs.org.
HTML
12
star
11

GTFS-books

Comprehensive guides to GTFS and GTFS Realtime
12
star
12

GTFS_Realtime_Best-Practices

Best Practices for structuring General Transit Feed Specification Realtime data
11
star
13

mobility-feed-api

Python
8
star
14

gtfs_diff

Specification of the GTFS Diff
6
star
15

mobility-database-interface

Python
5
star
16

gtfs-grading-scheme

Qualitative validation scheme for GTFS.
R
4
star
17

gtfs-reference

A reference for structuring General Transit Feed Specification data
4
star
18

gbfs.org

Source code for gbfs.org
HTML
1
star
19

gtfs-datasets-metrics-poc

Shell
1
star