{"action":"created","issue":{"url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/129","repository_url":"https://api.github.com/repos/outlandishideas/wpackagist","labels_url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/129/comments","events_url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/129/events","html_url":"https://github.com/outlandishideas/wpackagist/issues/129","id":124588116,"number":129,"title":"Add support for premium themes from Envato / Themeforest","user":{"login":"royduin","id":1703233,"avatar_url":"https://avatars.githubusercontent.com/u/1703233?v=3","gravatar_id":"","url":"https://api.github.com/users/royduin","html_url":"https://github.com/royduin","followers_url":"https://api.github.com/users/royduin/followers","following_url":"https://api.github.com/users/royduin/following{/other_user}","gists_url":"https://api.github.com/users/royduin/gists{/gist_id}","starred_url":"https://api.github.com/users/royduin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/royduin/subscriptions","organizations_url":"https://api.github.com/users/royduin/orgs","repos_url":"https://api.github.com/users/royduin/repos","events_url":"https://api.github.com/users/royduin/events{/privacy}","received_events_url":"https://api.github.com/users/royduin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-02T12:27:35Z","updated_at":"2016-06-02T04:12:25Z","closed_at":null,"body":"I'd like to install some premium themes from Themeforest with Composer which isn't that easy, see my question on Stack Overflow: http://stackoverflow.com/questions/34295318/install-premium-wordpress-theme-with-composer.\r\n\r\nBut today I came across the Envato API: https://build.envato.com/api/ which provides the possibility to download purchases: https://build.envato.com/api/#market_0_Buyer_Download by `item_id` or `purchase_code` which can be obtained by https://build.envato.com/api/#market_0_Buyer_ListPurchases. The only disadvantage of this is that only the latest version can be downloaded because Envato doesn't provide the possibility to download older versions. But with for example a premium Wordpress theme the API gives the metadata of the theme as `wordpress_theme_metadata` which contains the `version` so it's possible to do some kind of check if it's still the same or a new version.\r\n\r\nAn implementation for this would be very nice! What do you think?"},"comment":{"url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/comments/223191042","html_url":"https://github.com/outlandishideas/wpackagist/issues/129#issuecomment-223191042","issue_url":"https://api.github.com/repos/outlandishideas/wpackagist/issues/129","id":223191042,"user":{"login":"vercotux","id":2930526,"avatar_url":"https://avatars.githubusercontent.com/u/2930526?v=3","gravatar_id":"","url":"https://api.github.com/users/vercotux","html_url":"https://github.com/vercotux","followers_url":"https://api.github.com/users/vercotux/followers","following_url":"https://api.github.com/users/vercotux/following{/other_user}","gists_url":"https://api.github.com/users/vercotux/gists{/gist_id}","starred_url":"https://api.github.com/users/vercotux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vercotux/subscriptions","organizations_url":"https://api.github.com/users/vercotux/orgs","repos_url":"https://api.github.com/users/vercotux/repos","events_url":"https://api.github.com/users/vercotux/events{/privacy}","received_events_url":"https://api.github.com/users/vercotux/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T04:12:25Z","updated_at":"2016-06-02T04:12:25Z","body":"Just letting everyone know I've published the code: https://github.com/MaeCompany/composer-wordpress\r\n\r\nIt still has some way to go before it becomes more practical, but it's better than nothing."}}
{"actor":{"display_login":"vercotux"}}