hasadna / open-bus

:bus: Analysing Israel's public transport data
93 stars 29 forks source link

Adding optional parameters function #379

Closed EyalBerger closed 2 years ago

EyalBerger commented 2 years ago

I think it would be very useful for users to have a function which returns the optional parameters of a list (siri_routes, gtfs_routs, etc.).

see example below - I am trying to use "date" parameter but I am getting wrong results. I am not sure why, but if I could easily see the optional parameters list, I could check if "date" is included there.

image

OriHoch commented 2 years ago

all the api methods and parametes are documented in the api documentation: https://open-bus-stride-api.hasadna.org.il/docs#/gtfs/list__gtfs_routes_list_get

EyalBerger commented 2 years ago

Great, thanks! Does this doc is getting updated automatically when adding new filters or we should pay attention to update it?

OriHoch commented 2 years ago

It's updated automatically

EyalBerger commented 2 years ago

Great. Closing this issue