Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 607 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 607 Bytes

Envato API Wrapper for WordPress

Modified version of the Envato API included in the new Envato Update script. Uses API v3, which means you can fetch some quality item data, like WordPress theme/plugin meta.

See the example.php for more info on how to use it.

Uses WordPress transients to cache the API results.

Personal Token

Head over to https://build.envato.com/ to get yourself a personal token.

Methods

Get full item details

item_details( $item_id, $allow_cache = true, $timeout = 300 )

Get all prices for an item

item_prices( $item_id, $allow_cache = true, $timeout = 300 )