Live data from Hacker News

Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

github.com

1–10 of 31 posts

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#3

I got this error when running it : File "fetch.py", line 25 place_raw = requests.get(f' https://maps.googleapis.com/maps/api/place/details/json?plac... ) ^ SyntaxError: invalid syntax

What version of python are you using?

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#5
post #4

Why a CLI tool instead of a GUI? This sort of thing seems like a poor use-case for a CLI experience.

Probably because the author wrote this for themselves and did not need a UI, but then thought that sharing it would be cool.

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#7

I got this error when running it : File "fetch.py", line 25 place_raw = requests.get(f' https://maps.googleapis.com/maps/api/place/details/json?plac... ) ^ SyntaxError: invalid syntax

It looks like you need python 3.6+

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#8
post #5
post #4

Why a CLI tool instead of a GUI? This sort of thing seems like a poor use-case for a CLI experience.

Probably because the author wrote this for themselves and did not need a UI, but then thought that sharing it would be cool.

Why wouldn't you need a UI? What makes a UI too bloated?

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#9
post #5

Earlier quoted context omitted.

Probably because the author wrote this for themselves and did not need a UI, but then thought that sharing it would be cool.

Why wouldn't you need a UI? What makes a UI too bloated?

A UI is more work, and a CLI can be piped into all sorts of personal projects/workflows. I sure would like this.

Re: Show HN: Trip Planner – A tool for planning a trip itinerary using Google Maps

#10
post #3

I got this error when running it : File "fetch.py", line 25 place_raw = requests.get(f' https://maps.googleapis.com/maps/api/place/details/json?plac... ) ^ SyntaxError: invalid syntax

What version of python are you using?

I use now python 3.6 but got this error :

ModuleNotFoundError: No module named 'wikipedia'

(I installed requirements)

Post reply on HN