I am trying to get the results from the api to match the website and the API is always returning fewer results than displayed on the website. I know of the 30 day limition of the API. Can someone help spot the error in my call?
I am looking for completed listings that have been sold
Returns 0 results:
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findCompletedItems&SERVICE-VERSION=1.13.0&SECURITY-APPNAME=######&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&keywords=mike+trout+2009+auto&paginationInput.entriesPerPage=100&itemFilter(0).name=SoldItemsOnly&itemFilter(0).value=true&sortOrder=EndTimeSoonest
Returns 30 results for within 30 days:
http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&LH_Complete=1&LH_Sold=1&_nkw=mike%20trout%202009%20auto&_pppn=r1&scp=ce0
Returns 1 result:
http://svcs.ebay.com/services/search/FindingService/v1?OPERATION-NAME=findCompletedItems&SERVICE-VERSION=1.13.0&SECURITY-APPNAME=######&RESPONSE-DATA-FORMAT=XML&REST-PAYLOAD&keywords=2011+bryce+harper+autograph&paginationInput.entriesPerPage=100&itemFilter(0).name=SoldItemsOnly&itemFilter(0).value=true&sortOrder=EndTimeSoonest
Returns 52 results:
http://www.ebay.com/sch/i.html?_from=R40&_sacat=0&LH_Complete=1&LH_Sold=1&_nkw=2011%20bryce%20harper%20autograph&_pppn=r1&scp=ce0
It turns out that lots of users are reporting the same issue, so it is a eBay fault. Thanks for looking!
https://forums.developer.ebay.com/questions/18851/is-anyone-else-having-problems-with-their-findcomp.html?page=3&pageSize=10&sort=votes
Related
Shares API call has some issues regarding the records returned with pagination. I passed different numbers as count but it didn't return exact number of records in element attribute.
Eg:
API call with count 10 - returns 10 or less amount of records
API call with count 50 - returns 45 records
API call with count 100 - returns 70 records
API call with count 120 - returns Bad request(400) error
What is the reason for this issue? Is there a maximum limit for count parameter? Could you please assist on this issue?
We are using Linkedin REST API and we need to get the number of likes and comments from owned companies updates. The method get-updates always returns the last 3 likes/comments and also the total is 3, even if you have more than 3. So in order to get all the likes/comments of the updates we have to make a query to each update because that way we get all the likes/comments. But this is not a good method because if I have 100 updates then I have to do 101 api calls and a user has a limit of 700 per day, so they are very easily get depleted. We really find it hard to believe there is no way your API doesn't solve the n+1 problem. So how can it be done?
Thank you!
if you hit this URL -> "https://api.linkedin.com/v1/companies/{id}/company-statistics", provided if you have the id of the company page.
you can get the likes,clicks,impressions,engagement,shares,comments in month break up wise.
For more info
LinkedIn API Company statistics data
Using the latest Twitter API is there a way to get your followers handles? I don't know the correct term for this but I am referring to their name with that # symbol. For example: #MyTwitterHandle
The code I am looking for would do this.
///Necessary Twitter Code
Outputs:
Your followers are:
1. #IFollowYou
2. #MyTwitterHandle
etc...
35k more followers etc...
The most efficient way to do it is a two-step process:
Get all user IDs with followers/ids. This lets you get 5000 at a time.
Perform a users/lookup, which will give you the screen_name. This gives you 180 requests every 15 minutes for 100 users at a time.
This will take you about a half hour if everything is working well. The alternative, using followers/list, will take you over 3 hours because you only get 200 users in a 30 minute window (for app-only auth).
Is there a way to search and retrieve all results for a particular query in Google? I want to use Custom Search API, but the starting index of the result set can be 99 at most (http://code.google.com/apis/customsearch/v1/using_rest.html) Which means I can retrieve only the first 100 items. In my case, there are around 4000 items in the result set.
Thanks.
You can retrieve about 1000 results: 100 pages with 10 results each. See: http://code.google.com/apis/customsearch/v1/using_rest.html#query-params
It seems as if you can't go beyond that, though.
UPDATE: I stand corrected. It's only 100.
BTW - The new Google API can return more than 10 results per page, limited by 20 results per page, using num=20
http://www.google.com/cse/docs/resultsxml.html
I've been doing some research into using the Twitter API, and I'm not sure if I'm understanding it correctly. I want to get tweets from a specific user for a specific time-frame. From what I can tell, using the search function to specify a date range doesn't work because only the last 7 days are kept. I could just get the tweets and work out the date range with JavaScript, but the documentation states the the max you can get is 200 tweets, so if the tweets from the date range I want aren't in the last 200 I can't do it.
Is there anyway I can do this?
You can use the page=n URL argument to go back through the previous pages of 200 status updates.
as described here:
http://dev.twitter.com/doc/get/statuses/user_timeline