News for hackers. Stuff that matters.
Re:Trip planning on Android phone turned off for now by Mathnerd314 on Tuesday November 05, 2019 @03:04AM (#21450519)
I'm not sure what API they are using. The cheapest Places SDK API call is a plain autocomplete and it's still $2.27 per thousand requests. https://cloud.google.com/maps-platform/pricing/sheet/. They say it would cost $1000/mo, but then there are 2.3 million requests in the past 30 days, which would be $5221/mo using the $2.27 price. I guess there could be a volume discount but they don't mention it.

This is the code, not particularly helpful: https://github.com/OneBusAway/onebusaway-android/blob/7b63b3...

Re:Trip planning on Android phone turned off for now by squeaky-clean on Tuesday November 05, 2019 @09:49AM (#21452818)
Google offers Volume pricing for the Geocoder service above 500,000 monthly requests.

https://developers.google.com/maps/documentation/geocoding/u...

The geocoding API is also the most expensive at $5/1000req normally.

I think this is the Geocoding code?

https://github.com/OneBusAway/onebusaway-android/blob/8eeda8...

Re:Trip planning on Android phone turned off for now by Mathnerd314 on Tuesday November 05, 2019 @11:13AM (#21453659)
The Geocoding API is free on Android: https://stackoverflow.com/questions/8218764/android-geocoder...

Presumably Google would like to change this at some point but it'll be difficult since it's built into Android proper rather than the Play SDK or similar.

Re:Trip planning on Android phone turned off for now by squeaky-clean on Tuesday November 05, 2019 @11:22AM (#21453771)
Those results are from 2011-2013, it is no longer free as of July 29, 2019. [0]

> To translate points-of-interest names (e.g. “Airport”) and addresses (e.g., “1234 Anywhere Dr.”), the team selected the Google Places SDK, which was free to use for Android apps.

> In 2019, Google decided to start charging for use of the Places SDK on Android – a cost of around $35 per day (around $1000 per month). We pleaded our case to Google and were directed to apply to the Google for Nonprofits program

[0] https://developers.google.com/places/android-sdk/usage-and-b...