API dont have screenshots url

wordpress
tips-and-tricks

#1

Hi
i am developing an wordpress plugin that can use envato api to grab an item and save it to wordpress custom post type what i dont see that there is no screenshots of an item in json response there is previews values but none contain screenshots of an item of codecanyon or themeforest

is there other endpoint to get these data or there is none ?


#2

No, you may want to use CURL and a DOM parser (like simple_html_dom) to scrape the item preview URL for the screenshots.


#3

thats shame . but i dont understand why its not have it !