django-places icon indicating copy to clipboard operation
django-places copied to clipboard

Access more Google Place data

Open hfc888 opened this issue 5 years ago • 5 comments

DESCRIPTION

Is it possible to get access to the JSON from Google? This is a great library but would love to be able to store the address and opening times for business, etc.

hfc888 avatar Sep 03 '20 00:09 hfc888

Related to #23 Currently not out of the box, but I can add support for this. Question: do you want this data to be show in the user input?

oscarmcm avatar Sep 03 '20 17:09 oscarmcm

This is an interesting feature. I would too like to be able to grab the opening times data. Any idea what it would take to do this? Im thinking if there is some way to hook into the api call and once done, you can do whatever you want with the data.

andrewgy8 avatar Apr 12 '22 12:04 andrewgy8

@andrewgy8 This might require to move away from a CharField to a JSONField in order to store more information from the google maps API and maybe a new Setting that stores which data you want from the API.

oscarmcm avatar Apr 12 '22 15:04 oscarmcm

Yeah, that could work. You are thinking of POSTing all the returned data to a field on the model and then the user can do whatever he/she wants with it on the server side?

andrewgy8 avatar Apr 16 '22 09:04 andrewgy8

Hello, any news about this feature ?

daweedm avatar Feb 25 '23 19:02 daweedm