Skip to content

Statistics API - OTP Sandbox Extension Example

Contact Info

  • Thomas Gran, Entur, Norway

Changelog

April 2019 (in progress)

  • Initial setup of the first new OTP Sandbox Extension. (April 2019)
  • Added a simple GraphQL API for retrieving Graph statistics. (May 2019)
  • Moved Graph Example Updaters from main code to sandbox examples. (May 2019)
  • Delete the Example Updaters, there are real-life examples in the Sandbox now. (Sep 2020)

Documentation

Graph Statistics Resource

This extension show how to create a web endpoint to get some simple statistics: - Number of stops in the graph