+ Reply to Thread
Results 1 to 11 of 11
-
After Example ShopWindow API Script
Hi All
I'm after a simple example of an Awin ShopWindow API script which I can upload to my server, just to understand the basics of getting data via the API. Can anyone help out an API newbie with an example script?
Thanks
-
Re: After Example ShopWindow API Script
If you can bear with me for a day or two, I've just registered a new domain and I will be putting examples of all the available Awin API calls and how to integrate them into a standalone php website.
If you can't wait, then I can give you specific examples for specific requirements.If you build it, they will come. Then what? UK Press Releases Find Shopping Codes Ambeku Fashion Forever
-
The Following User Says Thank You to scriptmonkey For This Useful Post:
accelerator (27-06-09)
-
Re: After Example ShopWindow API Script
If you have time, then it would be good if you could post a very basic example script here. I just want to manage to write my own script that can utilise the Awin API, however basic.
Many thanks
-
Re: After Example ShopWindow API Script
Have PM'd you as the script is way too complex to put in a forum post
-
Re: After Example ShopWindow API Script
Quick amendment for you, in index.php
swap
forPHP Code:foreach($oResponse->oRefineByGroup as $details){
$sName1 = $details->sName;
$iId1 = $details->iId;
if ($sName1<>''){
echo "<div class=\"centralproducts2\"/><b>".$sName1."</b><br/>";
foreach($details->oRefineByDefinition as $details2){
echo "<br/>";
$sName = $details2->sName;
$sId = $details2->sId;
echo $sName." ";
}
echo "</div>"; }
}
Which will give you a link after the categories at the bottom of the page.PHP Code:foreach($oResponse->oRefineByGroup as $details){
$sName1 = $details->sName;
$iId1 = $details->iId;
if ($sName1<>''){
echo "<div class=\"centralproducts2\"/><b>".$sName1."</b><br/>";
foreach($details->oRefineByDefinition as $details2){
echo "<br/>";
$sName = $details2->sName;
$sId = $details2->sId;
if ($sName1=='Category') {
echo $sName." <a href=index.php?id=".$sId.">more</a>";
}
else
echo $sName." ";
}
}
echo "</div>";
}
-
Re: After Example ShopWindow API Script
As promised, the new site is live, www.awinapi.com
One code example on there at the moment, there will be another within the hour, and one more before the evening.
Hopefully it will grow into a valuable resource for anyone using Affiliate Windows productserve API.
-
Re: After Example ShopWindow API Script
Been playing around with noobslide and mootools this afternoon, and created a little something that uses the Awin API
Example 1 Carousel & API Test
Example 2 Carousel & API Test
Source code for both of those here A Javascript Carousel with the API : Awin API Help & Code well, it's the same source code, just a different category
If you build it, they will come. Then what? UK Press Releases Find Shopping Codes Ambeku Fashion Forever
-
Re: After Example ShopWindow API Script
Interesting. Had a quick look at these and found they worked in Firefox 3 but not IE7. Thanks for sharing though.
Rgds
-
Re: After Example ShopWindow API Script
Thanks for that, haven't touched IE since about 2002, I suppose I should try and see what things look like in the majority browser.
-
Registered User
- Join Date
- Jan 2009
- Posts
- 18
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Re: After Example ShopWindow API Script
Hi scriptmonkey,
Thanks a lot for your script. I was looking for a AW api script but can't find any. Your script is a great starting point.
I just checked out your Showing Products based on a Keyword Query example script, I got a question, does your script show joined merchant or even those merchant that I haven't join?
I think I will ask some body to modify your script, so that I can save the data in xml format. Then I don't nedd to download the big xml files from merchants again and again. Thanks.
-
Re: After Example ShopWindow API Script
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
ShopWindow and Red Letter Days launch BETA ShopWindow video players
By Joshna in forum Affiliate WindowReplies: 8Last Post: 05-11-08, 10:38 AM -
Best & easiest blog script and forums script to use on a website.
By Brad123 in forum Affiliate Marketing LoungeReplies: 3Last Post: 13-07-07, 03:19 PM -
Help with ShopWindow...
By draytop in forum Affiliate WindowReplies: 0Last Post: 17-11-04, 01:47 PM -
Help with shopwindow please
By Melter in forum Affiliate WindowReplies: 1Last Post: 02-02-04, 07:31 PM -
Shopwindow Help!!
By mooash in forum Affiliate WindowReplies: 6Last Post: 08-12-03, 05:55 PM


LinkBack URL
About LinkBacks



Reply With Quote

Bookmarks