I'm currently working with google places api to fetch nightclubs in the given city,
I have evn added my credit card to API details as per you documentation I was supposed to get 150K hits per day.
when I hit the google places api it returns only 60 places in 3 pages.
Please assits how can I can more results from API query.
It is not possible to get more than 60 results from places search request. This behavior is well documented.
By default, each Nearby Search or Text Search returns up to 20 establishment results per query; however, each search can return as many as 60 results, split across three pages.
https://developers.google.com/places/web-service/search#PlaceSearchPaging
Adding more results might open a possibility for data scraping that is prohibited by Terms of Service [1], so it is very unlikely that Google increases the number of items in the response.
[1] https://developers.google.com/maps/terms#section_10_4
No creation or augmentation of data sets based on Google’s Content or Services. You will not use Google’s Content or Services to create or augment your own mapping-related dataset (or that of a third party), including a mapping or navigation dataset, business listings database, mailing list, or telemarketing list.
Related
I would like to get the revenue from the google bees for every single item on my website to create a control panel on my website where I can see how much each item makes
You can use the AdSense Management API to generate reports on your website's ads. You can specify dimensions to break down your data by (for example, using the AD_UNIT_ID dimension will generate a report with a row for each Ad Unit), and you can use metrics to specify what data you want to retrieve (there are a number of metrics associated with revenue).
For a more detailed walkthrough, there are several Reporting guides that you might find useful.
Background: I work with a system that posts tweets from the same account, but for different people, and then gets the analytics for those tweets. One of the analytics is a retweets count.
Current Implementation:
I get all the tweet IDs for a certain user and send a request for each ID. With the Rest API I have 200 or 350 requests per hour. When user has too many tweets posted (and with this system number of tweets can reach 100-200 very fast), the requests get blocked due to the limits of the Rest API - I have 200 or 350 requests per hour. So if user hits too many tweets, he won't be able to get his analytics and will block that availability for others as well.
Question: Is there a way to send a request to Twitter with a list of Tweets IDs and receive a list of retweeters information for each of the IDs?
UPD: basically I need something like GET statuses / user_timeline, but for certain IDs...
UPD2: there is also GET statuses / lookup, but it doesn't return retweeters.
Is there any API from google which can help to collect user reviews?
Like review for mexican food in Newyork city.
I checked google API list but could not get it.
It's in the Google Places API.
reviews[] a JSON array of up to five reviews. If a language parameter
was specified in the Place Details request, the Places Service will
bias the results to prefer reviews written in that language. Each
review consists of several components:
currently working with Google analytics to get a list of companies based on GA's Service providers (which after a filter of "default ones" I can determine the leads). Now I would like to be able to get an overview of urls visited per lead. I can't find any way to get those service providers linked to visited urls in the API.
P.S. only interested in results of last 24 hours so I don't need full histories.
I would just request ga:pagePath, ga:networkLocation dimensions ga:pageViews metric then add a filter on with ga:date = today. The filter will ensure that you only get data back for today.
This should give you a list of the Network domans and what pages they viewed today.
There is a problem with this it can take a while for google to process the data i have read any where from 4 - 8 hours. I normaly filter on yesterday that way i'm almost always sure that all the data was processed. You could try with the realTime api but then there isnt much data there and there are a limited number of dimensions and metrics you can select from it. I'm not even sure that what you are looking for is available.
I wanted to use the Twitter API to get the friends status list from many users.
How many requests could I request in one moment?
Little another question:
What's faster: XML or JSON with a lot of data with PHP?
Currently, there is a rate limit of 350 requests per hour when using OAuth. I believe it's 150 when using Basic Auth which will be deprecated in June.
The number of requests per hour over REST is irrelevant here as to achieve what you require (tracking the friends of many users I assume) then you need to be using site streams rather than the REST API. This will give you an initial list of friends for a followed user then will stream you updates to that user as any changes happen.