I found some threads here telling that Google API (places/+/etc.) do not allow more than 5 reviews in the response. However, it appeared most of those were as old as from 2012.
Is this still the case? Is there a difference whether I am the owner of the page/place I want to get reviews for? Most appear to operate on place ID but if I want to pull the reviews of my own business, can that be done or is it subject to the same 5 limit that appears here https://developers.google.com/places/web-service/details#PlaceDetailsRequests
I have been trying to find information on this for hours as it seems ... silly to think there'd be no way to do it.
I think this is a limitation of the Google Places API: Place Details, so far there is no updates regarding this issue, please see this previous question for further details. You can also follow this thread regarding the enhancement request to get more than 5 reviews from the API. Hope this helps.
Google now has (although closed) API called "Google My Business" which allows fetching all reviews for a business and other location management. That solved the issue for me.
Related
Big picture - I want to build a bot to respond to my students on SHORT_ANSWER_QUESTION assignments -- I'm running into a couple of hurtles, but the biggest at this time is that there doesn't seem to be a way to give a comment along with a grade.
Does anyone know how to patch a comment or response of some sort to a student's submission?
Relevant documentation: https://developers.google.com/classroom/reference/rest/v1/courses.courseWork.studentSubmissions
currently there is no way to directly do this in the studentSubmisson context. There's the option to Grade student responses, but this only allows for numeric values.
There already is a Feature Request filed on Issue Tracker related to this issue. You can find it here. I suggest upvoting it to give it more visibility.
I have tried to gather data directly from the API of stockx which seemed possible according to an article from Jan 2019: https://medium.com/#thewillmundy/stockx-sneaker-data-in-three-simple-steps-8977d0016b80 . I am thereby able to get a request url which gives me some transactions in JSON-format.
I have tried changing the parameters within the request url (limit as well as page), which is possible, but only for the latest 250 transactions (due to high volume of sales for some shoes, I can thereby only receive the sales history for the last few days)...
My Goal: getting the whole sales history (often several thousand transactions) - in the article mentioned above, thats possible
Could it be a restriction from stockx?
or is there a way?
Would be so so grateful for help!!!
Best regards, Marvin
I think the API will only give you the 250 most recent sales because that's all the product webpage itself will allow you to load when you click view all sales. Any sales further back in time aren't directly accessible from the product page, and we're essentially requesting the same data that page can request using the link it would use. I guess those are stored and accessed in a different way internally.
I'm guessing StockX changed its API since that article is a little old. I would try to contact StockX about their API via email, but I don't think they're really continuing developer support:
https://twitter.com/stockx/status/1000004306844647424?lang=en
It's pretty disappointing because I was also looking to work with the sales data but what can you do :/
I know I can return a JSON array of up to 5 reviews. If I can return just 5 reviews that include only certain keywords that would be fine. Is it possible?
If not, perhaps I could generate a request that returns all the reviews for a place, then perform the keyword filter on the results.
I understand the business owner may return all reviews via My Business API, but I will not have My Business access for the places. I believe I can get more than 5 results with a premium plan, but assume that will get pretty expensive.
You are right the only way to get all reviews is via Google My Business API.The Places API at the moment provides only 5 reviews doesn't matter Premium or Standard plan.
There are a couple of feature requests in Google issue tracker you might be interested in:
https://issuetracker.google.com/issues/35825957
https://issuetracker.google.com/issues/35821903
Note these requests are pretty old, Google didn't set high priority on them. You can star them to express your interest and subscribe to further notifications.
Hope this answer clarifies your doubt.
Relative newbie here :)
Since twitter just recently disabled their endpoint count (http://urls.api.twitter.com/1/urls/count.json?url=), which they announced here, what would be a good alternative to get the current number of tweets per URL, with "good" being a JSON and hundreds of requests per day?
Only thing I found that might be good is Topsy's search by link.
I have the same problem, you can try
http://opensharecount.com/
or look at this post. The first method works
How do I Fetch Twitter Share Count via PHP after the upcoming update?
Yeah, http://opensharecount.com uses Twitter's REST API on your behalf so you don't have to do the counting and storing of previous result counts (the search API only returns data that is up to a week old or so, so you have to keep track of what the most recent search result was the previous time you counted or the count will go off).
OpenShareCount returns JSON in exactly the same way the old Twitter API did, all you need to do is replace the broken URL with the new one. You do need to sign up though, because it needs to do searches on your behalf.
You must be using a different Twitter API, we are effectively counting thousands of tweets. And yes, the service is limited to the domain you sign up with but nothing stops you from signing up with multiple twitter accounts, one per domain you need info for.
I'm trying to use Googles reseller API to better control and operate our business.
The API can only list seats for Google-Apps-For-Business with an ANNUAL plan. This results in misleading statistics since a big part are FLEXIBLE.
There are no way to see which Google-Drive-storage has Assigned Licenses or how many.
Are there any way around this? - or any ideas behind it?
Have the API not been fully developed? - if so, when will it be?
Love to know.
Check out the planName and skuId properties on the subscription resource:
https://developers.google.com/google-apps/reseller/v1/reference/subscriptions#resource
That should get you Flex plan data, and also data related to Google Drive storage.
Some days ago, Google has finaly added the feature that was lacking!