Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] Add auth type when account login is required #509

Open
emmambd opened this issue Sep 13, 2024 · 0 comments
Open

[REQUEST] Add auth type when account login is required #509

emmambd opened this issue Sep 13, 2024 · 0 comments
Assignees

Comments

@emmambd
Copy link
Contributor

emmambd commented Sep 13, 2024

What problem is your feature request trying to solve?
There are cases (like https://otd.delhi.gov.in/data/static/) where there is no formal authentication process for a GTFS feed (like registering for an API account), but there's no way to retrieve the feed without individually consenting to the Terms and Conditions.

Describe the solution you'd like
An auth type=4 for cases when an account has to be logged into or a UI element has to be selected to download the feed. Ideally we'd programmatically do this each time we want to download the feed.
Update schema in the README
Update python operations
Update API schema
Updating tests
(if downloading is not possible) Update batch processing to omit dataset storing for auth_type=4
Database changes for enum

Additional context
Example Feeds that Need a Login to Be Used:

https://opendata.transport.nsw.gov.au/dataset/a5ecd906-ce73-484c-8cea-fa6fecfe368e/resource/e25092cc-67a1-469c-b57a-20793c259486/download/ondemand_gtfsflex.zip
https://otd.delhi.gov.in/data/static
https://transitdata.io/city/1
https://transitdata.io/city/12
https://data.mobilitaetsverbuende.at/en/data-sets

@emmambd emmambd self-assigned this Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant