This was my first example to query some template data from the TemplateMonster API system. The script will try to access the API system for every pageview and return a small data set of web templates. The script is using the WEBAPI version which is very limited. For your own template shop it's much better to build a template database together with the XML API system. My second template API script works exactly that way: Synschronize the new and updated template data ones a day with the data in your own MySQL database. This way your website always online, even if the TemplateMonster API is offline or doesn't provide the required data very fast. If you click on the template images, a new window/tab will open which brings you to the template detail page on www.templatemonster.com.

website template no. 62222

Template #62222

Price: $75

Details

website template no. 59433

Template #59433

Price: $199

Details

website template no. 62079

Template #62079

Price: $179

Details

website template no. 61331

Template #61331

Price: $75

Details

I used for this demonstration some PHP Memcached functions to create a cache for the template data. If you this simple code snippet, you should do the same because there is no API provider that allows you to query their servers for every pageview.