Google my business - API to update opening hours of places? - google-api

I would like to update "Opening hours" for all stores of a company in Google my business, through an automated API (a REST service for example).
My customer has hundreds of stores, and currently this is done manually.
I've read there is NO automated way to do this, a user needs to fill manually every opening hour in the google my business portal.
I can't believe that, and I'm wondering how big companies with a lot of stores take care of that problem, especially for "exceptional closings", etc.
I have already search for a long, and didn't found anything.
The only ability supplied by google is to upload a list of stores, through a file, and this file doesn't contain any information regarding opening hours (am I wrong ?).
I would like to be able to update store list AND opening hours regularly, through an API (My Business, or Places).
Does google propose a such API, or do you have any suggestion to handle this concern from a programmatical point of view ?
Thank you

There was no Google API for My Business at the time when I posted my question, but meanwhile Google has released it and also provides samples for many languages : https://developers.google.com/my-business/
Thanks to eton_ceb for the notification.

Related

Is it possible to Fetch Real-time data using Riot Valorant Api?

I am making an application that shows real-time status for a Valorant game. like players alive, the type of weapons each play has, time remaining, etc.
Is it possible to use Riot Valorant API to do this for live matches or for previously played matches?
As per my knowledge you couldn't. But I think you should try with Riot Games' official production API, not development API.
Let me know if you find something relatable.
(This is adding onto Sanskar's answer, which I cannot comment on as I lack the required 'reputation')
I'm aware that this is an old question, but for anyone who happens to have stumbled upon this question, there is no way to obtain real-time in-game events however, there is a way to retrieve certain data from a match-- only except, not in an official way that does go against Riot Game's TOS of using third party software. Though, I wouldn't worry about this too much as long as you do not ruin the competitive integrity of the game by providing yourself with an in-game advantage over others in the game. I personally have been using this for over a year now and have not received any form of punishment for doing so.
Anyhow, back to the actual question of this thread, check out this document of API endpoints that have been scraped through monitoring HTTP traffic of the Riot Client. https://github.com/techchrism/valorant-api-docs/tree/trunk/docs/ You'll need to obtain certain authorization tokens of the Valorant account through whatever methods are available to you (I pray that it is through lawful means :) ), which highly depends on the type of endpoint. There are certain wrappers for these endpoints already made by other users somewhere on GitHub, and you can always ask for help in the small community of developers that are using these endpoints in the README of the GitHub page I sent in this post.
REMEMBER TO NOT DO ANYTHING THAT WOULD CREATE AN UNFAIR ADVANTAGE, OR ANYTHING ELSE THAT A RIOT EMPLOYEE WOULD NOT APPROVE OF USING THIS :)

Outlook/Exchange RoomFinder (w/ Lex)

I'm an intern and I've been tasked with creating a RoomFinder API for Outlook that works with Amazon's Lex/Lambda to find a location and schedule meetings given a list of participants. The API is supposed to be able to pull the calendars from Outlook for the individual participants, find a time that works for all of them and a location with a proper seating capacity, and then schedule the meeting+add it to the calendars of those involved. I have a pretty good understanding of how Lex works and have created my own functions using Lambda before but I don't even know where to begin when it comes to pulling the calendars from Outlook for the participants.
I have been trying to get an idea of how to go about this for a few days now and found some information on Outlook's REST API which it sounds like can be used to gather some of the needed information but I'm not sure how to actually begin doing that. Here are links to a few of those pages:
https://msdn.microsoft.com/en-us/office/office365/api/use-outlook-rest-api#RegAuthConverged
https://msdn.microsoft.com/en-us/library/office/dn643730(v=exchg.150).aspx
I also managed to find a few pages on GitHub of similar, more basic scripts using Python to acquire things like Room Availability from Outlook but I couldn't get any of those to work. I don't have enough reputation to post more links but if seeing those would help I can maybe comment them later.
I'm really looking for any advice on where to begin or tips on how to get this done. I think I may be on the right track with the REST API idea but I have no clue how to actually use it or set it up.
Any help is appreciated, thanks.
We are just now rolling out a new REST API to list the roomsIDs(findrooms). You can use this in conjunction with the findmeetingtimes API to schedule meetings. Please take a look at the REST API docs here(remember to choose beta in the top-right)
https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#GetMeetingRooms

Extending YouTube API Quota with limited funds

With a simple java program, I send GET requests using YouTube Data API specifically videos.list, in order to get the public metadata of a video and store it as .json files.
For my universities research, we have to do this with all available YouTube video IDs provided in the Youtube-8M Database.
Therefore, I would like to know if there is a way to extend the available quota for requests (I already know about the billing option, but I am a student and my university is small).
I have read the YouTube API terms, which states that only one project per client may be used to send such requests with the necessary API Key.
If I understand it correctly, even my simple java code is such a client.
In some other Stack Overflow questions about extending ones daily quota with API Keys, some suggested creating multiple accounts or projects.
Is this a legal option or not? Or is there another possibility to get a higher quota for simple requests used in research like I do right now?
If you go to the Google Developer console where you enabled the YouTube API. the second tab is called quota
Click the pencil next to which ever quota it is that you are blowing out. A new window will pop up with a link called apply for higher quota.
Fill out the form to apply. To my knowledge you do not have to pay for additional YouTube quota but it can take time to get approved. Make sure you comply with everything on the form.
I have never heard of the one project per client term. Technically you can run your application using different API Keys it should work fine. Technically there is nothing wrong with creating additional projects on Google Developer console. You don't need to go as far as creating another Google account.

Google Apps Marketplace request -- status?

After creating both a Chrome Web Store listing as well as a duplicate listing tuned for the Google Apps Marketplace, I have filled out the Marketplace Listing Review Request. I've had to edit the second listing several times as I've uncovered issues like not including the app member in the manifest, and I have no idea of the overall status of the request. Is there a way to find out?
My big concern is that something is still not right or that I might have missed a step or done something else wrong in the process of submitting the listing. Since there's no obvious validation around the Marketplace Listing Review request, I'm not 100% sure if I'm doing it perfectly. This is my first listing. Help?
First step would be to provide your Chrome Web Store Item ID as jonathanberi mentioned. Once you do that I can take a look at the application for you.
The reality is that we don't check and test new GAM applications every single day. It's more accurate to say that your application will be checked within 1-2 weeks from publication. If there are any issues, I or someone else on the curation team, will reach out to you to let you know of the problem and it's severity. Most of the time the issues aren't serious enough to warrant immediate removal from the Google Apps Marketplace and simply need to be fixed within a 30 day time frame.
So, long story short, no news is good news for GAM publications. If you don't hear anything from us within 2-3 weeks of your publication date, you can safely assume that your application has met all of our listing requirements.
I had the same problems and spoke to some very helpful folks at Google. Here is a summary of what they said:
Time taken to hear back: For new submissions their SLA for reviewing is 8 business days, but they usually do better than that.
Time taken for your app to show up on Google Apps Marketplace: 12-24 hours. When they approve an item it is automatically send to the public store, however it takes time to be shown in the Google Apps Marketplace search results due to cache propagation as time is taken for their robots to find it, index it and get it ready. (as of Jan 2017)

Google Places API - Submitting reviews

I am researching whether the following is possible and if so how I could go about achieving it.
We collect reviews for businesses from their customers and we’d like to post these reviews to Google places as part of the reviews they have on their.
I was wondering how I would go about getting our website to “push” this data to the Google places website, I’ve done lots of searching on the APIs but have found nothing that says it’s possible or not.
Currently the Google Places API does not have write capability. It only has read capability. Right now only ratings are available, but I suspect reviews might come someday too.
Although you can send check-in signals and fix Places through the API. Hopefully Google will add the ability to send reviews and receive them.
If you're looking to get your content added to Google, you may want to talk to their content partnerships teams http://www.google.com/support/mapcontentpartners/
Since Google's local and maps initiatives are under the same people that would be the place to go.
I too looked into this as it would be of huge value to companies if possible.
My research led me to believe that it is not possible and could possibly violate Google's TOA with negative results for the company's Places page.
Instead, I built a workaround that makes it really easy for companies to collect feedback and get their own customers to submit the reviews: http://dallasmarketingservices.com/survey-local-unveiled-how-online-reviews-affect-your-local-business/
Maybe we will see this in the future though.

Resources