m-wrzr / populartimes

MIT License
815 stars 167 forks source link

Is it possible to just fetch the Atmosphere Data? (Pricing) #95

Closed awillimfb closed 2 years ago

awillimfb commented 3 years ago

Hey, is it possible to just fetch the Atmosphere Data and ignore the Contact Data, since therefore extra money has to be spend..

Shobitm commented 3 years ago

Hi there, Greetings! It seems the logic requires only a few things from whole detail api call. You can change line no 25 in crawler.py to DETAIL_URL = BASE_URL + "details/json?placeid={}&fields=place_id,name,types,geometry,formatted_address&key={}" to get the bare minimum.