I am getting 5 reviews while calling google place API, but I need more than 5 reviews and the value of total number of reviews available on google plus business profile. Is there a way to achieve this?
Mar 14, 2019 Update
After five years, Google has finally added support to the Maps JavaScript API to get the total number of reviews with the 3.35 update.
The user_ratings_total property can be used to get the total number of reviews. See the documentation for more information.
Unfortunately, the API will only return a maximum of five reviews and there's currently no way to get the total number of reviews.
If you vote for the feature request to return the total number of reviews, it will help increase the chances of Google adding it.
Related
I have a firestore database that looks like this
/entries/ ....
/users/{userid}...
a bunch of documents is being sent into ... of entries and userid contains on 8 docs of user profile information.
my problem is that the entries doc contains field hours and no relation to the user doc which contains the field weekly_capacity
I need to aggregate this the two fields hours/weekly capacity setting them to Full-time equivalency variable
But the Full-time equivalency needs to be accurate and this company FTE can change so it would need to calculate the FTE over various date even if the user changed their FTE status x number of times.
And the current app only fetched the entries when the user logins into the app, which can be whenever.
None of the API requests that I am using will give me a json that holds both weekly_capacity and hours on the same fetch. If every time a user logs into the app firestore calls the http to fetch all entries then how can I compare the hours field on the collection's entries to the weekly_capacity field
Just a little context: FTE = Full-time equivalency and is used to measure as a standard to see if an employee compares to there core commit hours they signed up for which is 40. SO if I agreed to work 40 and I work actually work 40 hours then I would be 1 whole FTE. If I worked 20 and I suppose to work 40 I am .5 FTE. The math is really simple it's just that in my situation the variable FTE can change any time and the app will allow the user to enter a range of dates fetching the total actual hours they worked and FTE letting them know how many hours they were supposed to work vs how many hours they actually worked. Since the variable changes, I need some way in firestore to track the change and aggregate correctly against the hours actually worked. To give an error example: let's say I changed my FTE from 1 to .7 on March 20th, I then want to generate a report of March 1 to March 30th stating my hours worked and FTE status meaning did I reach my goal. The kicker is that I can't fetch or merge the entries which hold the var hours and /users/ which hold the var weekly_capacity.
I don't even think a cloud function would solve the problem since entries are only fetched when the user logins in right?
I'm assuming the following for answering your question.
Requirement: To calculate FTE for a user when user's weekly_capacity is updated or user logs in.
Problems:
Some way in firestore to track the change.
Calculate FTE correctly according to the change.
Here's what I think will solve the problems.
Google Cloud Firestore supports listeners for the collections in which you store the data. So you can listen for any change in users collection and entries collection. This is how you can track the change.
To calculate FTE, when a change is made to weekly_capacity of user document or a new entry is made to entries collection you need to query both collections separately to get the records corresponding to the user affected. You can also use a collections-group query for this purpose but that depends on your database design.
Hope that helps.
Currently I am using BingMap to get and set address. But I was reading about Google Map API.
According to it, user can send 1000 request per 24 hours. 150,000 request for 24 hours with credit card identification.
I have tried to find such limit in Bing Map, but didn't get.
Is there any limit for particular BingMapKey same like GoogleMap?
Please guide me else this will create issue if number of request get increased.
Basic accounts can make a maximum of 5 queries per second and a total of 125,000 transactions a year for free.
Enterprise accounts (licensed/paid) can make 50 queries per second an purchase higher queries per seconds if their account needs it. The transaction limits are based on the volume of transactions they purchased.
I am able to get the calories data from Google FIT, but it includes inactive calories too. If by bucket by activity type, I still get activities like sleep and still. I need to calculate only the calories burnt by user by doing any activity (active calories). How is this possible?
I am guessing that you use the Fitness.HISTORY_API. You need to work with Fitness.SESSIONS_API instead. Sessions represent a time interval during which users perform a fitness activity.
Before I begin, this is not a specific coding question, so I apologise for that first. It's more of a conceptual question.
Can the Google Calendar API return data for all calendar slots including timeslots that have no bookings/appointments at all? I am working with LibCal (springshare.com/libcal/) and their API is extremely limited but the system does synch bookings to Google Calendar. We use LibCal to facilitate bookings at the organisation I work for.
Problem is that what I can see returned is just current booked slots. We are using the calendar for room bookings and 'the powers that be' want to return a graphic table of all available timeslots with colour coding to mark the currently booked and unbooked rooms. Additionally, in each table cell, they want to have the name of the person (and group name) who has booked the room. Can it be done?
It's my first foray into the Calendar API so I am still trying to figure out what is possible and if it can do what I need it to do.
We have a requirement to find corporate offices within a certain distance of a zip code
Requirements:
Can be a spreadsheet or web app, something portable.
We have a master office list with different office type categories.
Users need to be able to upload or populate a second list with customer addresses or just zip codes, sometimes up to 15000 at a time, they then need to be able to select a distance (e.g. 10 Miles, 25 Miles etc) and then select one or multiple office categories to display the results of offices within the selected mileage range, is there something already available to do this or does someone have an example?
Thanks ahead
This is essentially a store locator, but instead of stores you have corporate offices. Here is a step by step guide on how to create a store locator using Bing Maps: https://msdn.microsoft.com/en-us/library/dn948092.aspx