
This ToldYa API method returns the HTML code needed to render your ToldYa store.
| Request Method | API Endpoint URL |
|---|---|
| GET | http://www.toldya.com/api/ |
| Parameter | Data Type | Length | Notes |
|---|---|---|---|
| action | string | get_store | |
| api_key | string | Your API key |
http://www.toldya.com/api/?api_key=xxx&action=get_store
The following shows example XML returned by the API for this method. To render the store properly on your site or blog, be sure to restore the HTML entities in the code first. Using PHP, for example you can restore the entities using the built-in html_entity_decode method.
<toldyaapiresponse>
<url>https://www.toldya.com/api/?api_key=xxx&action=get_store</url>
<status>SUCCESS</status>
<message/>
<code>&lt;object classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0&quot; width=&quot;400&quot; height=&quot;300&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.toldya.com/resources/swf/stores/1234.swf&quot; /&gt;&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;&lt;param name=&quot;flashVars&quot; value=&quot;fv_url=http://www.toldya.com/&amp;fv_id=1234&quot; /&gt;&lt;embed src=&quot;http://www.toldya.com/resources/swf/stores/1234.swf&quot; width=&quot;400&quot; height=&quot;300&quot; quality=&quot;high&quot; pluginspage=&quot;http://www.macromedia.com/go/getflashplayer&quot; type=&quot;application/x-shockwave-flash&quot; flashvars=&quot;fv_url=http://www.toldya.com/&amp;fv_id=1234&quot;&gt;&lt;/embed&gt;&lt;/object&gt;
</code>
</toldyaapiresponse>
| back to top |