Previously the API docs said that this method returns 10 of an authors newest items on a particular site. There was actually no limit to the number of items returned, so it would show all an authors items for the given site and result in some extremely slow SQL queries in certain cases.
We’ve decided to add in the limit but increase it to 25 items. I think this will be better for most uses of this API method, especially when the given author has thousands of items and you end up with a huge JSON document to parse.
Steve
- United Kingdom
- Community Superstar
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Has been a member for 2-3 years
- Microlancer Beta Tester
- Bought between 100 and 499 items
- Referred between 10 and 49 users
Noooooo!!!! That was the only good API item in the whole thing. There goes 3 mega projects of mine.
aaranmcguire said
Noooooo!!!! That was the only good API item in the whole thing. There goes 3 mega projects of mine.
I’m sorry to hear that! The slow SQL query behind it was causing site-wide performance issues so we had to fix it by imposing a limit.
- United Kingdom
- Community Superstar
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Has been a member for 2-3 years
- Microlancer Beta Tester
- Bought between 100 and 499 items
- Referred between 10 and 49 users
stevehodgkiss said
aaranmcguire saidI’m sorry to hear that! The slow SQL query behind it was causing site-wide performance issues so we had to fix it by imposing a limit.
Noooooo!!!! That was the only good API item in the whole thing. There goes 3 mega projects of mine.
Is there any good way to get all a users items? maybe with an offset on the api so
http://marketplace.envato.com/api/v3/new-files-from-user:aaran.mcguire.json then http://marketplace.envato.com/api/v3/new-files-from-user:aaran.mcguire.json?offset=25so that i can get the next 25, because I need to get a list of files from a user somehow.
- Grew a moustache for the Envato Movember competition
- Community Moderator
- Contributed a Blog Post
- Author was Featured
- Item was Featured
- Won a Competition
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Has been a member for 4-5 years
Is implementing our own html item scraper on the paginated profile pages frowned upon?
- United Kingdom
- Community Superstar
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Has been a member for 2-3 years
- Microlancer Beta Tester
- Bought between 100 and 499 items
- Referred between 10 and 49 users
dtbaker said
Is implementing our own html item scraper on the paginated profile pages frowned upon?
Alot of work for our end, but you have to think of it like this. We want to get all items, so how can we make it easier for our servers, we can give them JSON or we can have them load profile pages several times.
- Author had a File in an Envato Bundle
- Grew a moustache for the Envato Movember competition
- Author was Featured
- Community Moderator
- Referred more than 2000 users
- Has been a member for 4-5 years
- United Kingdom
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Contributed a Blog Post
- United Kingdom
- Community Superstar
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Has been a member for 2-3 years
- Microlancer Beta Tester
- Bought between 100 and 499 items
- Referred between 10 and 49 users
quickandeasy said
See: http://graphicriver.net/forums/thread/analytics-bug/69834
HaHa Facepalm!
- Grew a moustache for the Envato Movember competition
- Community Moderator
- Contributed a Blog Post
- Author was Featured
- Item was Featured
- Won a Competition
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Has been a member for 4-5 years
lol @ analytics breakage.
Here’s a quick scraper that pulls out all users items.
@staff let me know if this is a no-no, even with local caching, and I can nuke this repo
https://github.com/dtbaker/envato-scraper- United Kingdom
- Community Superstar
- Attended a Community Meetup
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Sold between 5 000 and 10 000 dollars
- Has been a member for 2-3 years
- Microlancer Beta Tester
- Bought between 100 and 499 items
- Referred between 10 and 49 users
dtbaker said
lol @ analytics breakage.Here’s a quick scraper that pulls out all users items.
@staff let me know if this is a no-no, even with local caching, and I can nuke this repo
https://github.com/dtbaker/envato-scraper
Nice code, I downloaded it just in case its a No No, they killed a few projects of mine so im going to use the scraper even if they say no..
