GithubHelp home page GithubHelp logo

Comments (4)

schildbach avatar schildbach commented on July 17, 2024

Sure, if an API is available! Some long distance buses are in the DB system, but not the more interesting ones (e.g. Mein Fernbus, Flix...)

One problem with buses is that they're reservation only. So if a bus is full, what should happen for departure and trip queries? I guess an API, public-transport-enabler and the apps using pte would need to separate usecases by people who don't already have a ticket/reservation and people who do. The same would be needed for flights by the way.

from public-transport-enabler.

oja avatar oja commented on July 17, 2024

I'm not sure about other providers, but there are some long-distance buses included in the Texas provider.

I think that the main obstacle to getting this to work is the lack of APIs, since (at least in the US) most long-distance buses are run by private companies, while city metros are run by city agencies. Private companies are probably more reluctant to release a public API.

from public-transport-enabler.

derhuerst avatar derhuerst commented on July 17, 2024

@juliuste has covered some European long-distance bus providers using JavaScript, but I'm not sure if the clients are up to date.

  • deinbus – JavaScript client for the deinbus coach travel API.
  • ecolines – JavaScript client for the Ecolines API.
  • eurolines-de – JavaScript client for the eurolines.de API.
  • meinfernbus – JavaScript client for the Meinfernbus/FlixBus API.
  • nettbuss-stations – A list of Nettbuss.se stations.
  • ouibus – JavaScript client for the OUIBUS API.

from public-transport-enabler.

juliuste avatar juliuste commented on July 17, 2024

Disclaimer: eurolines-de is not an API client but rather a scraper. The other three I made (ouibus, deinbus, flixbus/meinfernbus) use API endpoints and should be up to date, though.

from public-transport-enabler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.