Code Monkey home page Code Monkey logo

node-gtfs-realtime's People

Contributors

brendannee avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jakemauer

node-gtfs-realtime's Issues

BART example in README errors

Hi there - great project, I'm actually hoping to use it with BART's feed. However, the example in the README errors like so:

% npx gtfs-realtime http://api.bart.gov/gtfsrt/tripupdate.aspx

Downloading GTFS-Realtime from http://api.bart.gov/gtfsrt/tripupdate.aspx
Error: https://api.bart.gov/gtfsrt/tripupdate.aspx: 403 Forbidden

Error: https://api.bart.gov/gtfsrt/tripupdate.aspx: 403 Forbidden
[  Error: 403 Forbidden

  - gtfs-realtime.js:18 gtfsRealtime
    [d5e1ab7c0c5fdcf3]/[gtfs-realtime]/lib/gtfs-realtime.js:18:19

  - task_queues:95 process.processTicksAndRejections
    node:internal/process/task_queues:95:5

  - gtfs-realtime.js:50 async setupImport
    [d5e1ab7c0c5fdcf3]/[gtfs-realtime]/bin/gtfs-realtime.js:50:3

] {...

I went here: https://www.bart.gov/schedules/developers/gtfs-realtime

And checked the feed URL from BART and got https://api.bart.gov/gtfsrt/tripupdate.aspx from them. Then tried that (https URL rather than http) but same issue:

 % npx gtfs-realtime https://api.bart.gov/gtfsrt/tripupdate.aspx


Downloading GTFS-Realtime from https://api.bart.gov/gtfsrt/tripupdate.aspx
Error: https://api.bart.gov/gtfsrt/tripupdate.aspx: 403 Forbidden

Error: https://api.bart.gov/gtfsrt/tripupdate.aspx: 403 Forbidden
[  Error: 403 Forbidden

Is this something you've come across? I'll dig around and see if I can figure out what's causing the 403 from BART.

Open to elaboration of usage as a library

Hello!
I was evaluating libraries for a real-time project, saw node-gtfs might be a good beginning point and then noticed the start of this project! The project would be consuming GTFS-rt data and it looks like you've got a base going here. I wanted to check before diving in if y'all would be open to PRs that further develop the tools available to folks who would use node-gtfs-realtime as a library, things like processing and query tools, Typescript bindings, etc.

Thanks so much!

Thanks for writing this

I just started poking at the BART GTFS-RT api and was VERY confused at the output. Thanks for writing this project, it's going to be an essential part of whatever I end up building.

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.