Nope...nobody else replied :)

The API is relatively expensive and should be your last resort. It really
depends on what you want to do. If your client wants to offer a 'public'
service then avoid the API as you won't be able to control the number of
calls. Most if not all ebay tools scrape. It's a damm sight cheaper and
isn't 'that' difficult.


Here try this bit of code. It really is easy to get information from ebay.:

<cfoutput>
<form action="index.cfm" method="post">
        <input type="text" name="searchstring" <cfif
isdefined("form.searchstring")>value="#form.searchstring#"</cfif>>
        <input type="submit">
</form>
</cfoutput>
<cfif isdefined("form.searchstring") and len(form.searchstring)>

        <cfset UrlEncVar="#urlencodedformat(form.searchstring)#"><!--- standard
urlEnc of the string --->
        <cfset PlusVar="#Replace(UrlEncVar, "%20", "+" ,"ALL")#"><!--- var if they
search with + in the string --->
        <!--- check Ebay --->
        <CFHTTP

URL="http://search.ebay.com/search/search.dll?MfcISAPICommand=GetResult&ht=1
&SortProperty=MetaEndSort&query=#plusvar#"
        METHOD="get" timeout="20">
        </CFHTTP>
        <cfoutput>
        Ebay Result:
        <cfset Filecontent = cfhttp.FileContent>

        </cfoutput>
        <cfdump var="#cfhttp#" expand="no">

<cfoutput>
        <cfset index = 1>
        <cfset items = "">
        <CFLOOP condition="true neq false">
                <cfset sLenPos=REFind("([0-9]{10})", cfhttp.FileContent, index,
"True")>

                <cfif arraylen(sLenPos.pos) lte 1>
                        <cfbreak>
                <cfelse>
                        <cfset itemid = mid(cfhttp.FileContent, sLenPos.pos[2], 
sLenPos.len[2])>
                        <cfif not listfind(items,itemid)>
                                <cfset items = listappend(items,itemid)>
                        </cfif>
                        <cfset index  = sLenPos.pos[1] + sLenPos.len[1]>
                </cfif>
        </CFLOOP>
        <CFLOOP list="#items#" index="listidx">
                 <cfset sLenPos= REFind("#listidx#[^>]+>[^<]+", cfhttp.FileContent, 1,
"True")>
                 <cfif  sLenPos.pos[1] neq 0>
                 #listidx#: #listlast(mid(cfhttp.FileContent, sLenPos.pos[1],
sLenPos.len[1]),">")#<br>
                 </cfif>
        </cfloop>
</cfoutput><br>

</cfif>



> -----Original Message-----
> From: Gordon Burns [mailto:[EMAIL PROTECTED]
> Sent: 05 January 2004 04:39
> To: [EMAIL PROTECTED]
> Subject: RE: [ cf-dev ] Ebay API
>
>
> At 10:31 31/12/2003 Adam Reynolds said....
>
> Thanks Adam,
>
> I think I may have been dumped from the list so I may have missed
> any other commnets last mail I received was on the 31st.
>
> Regards
>
> Gordon
>
>
>
>
>
>
> >I had a look into this.
> >
> >It gets very costly quite quickly, particularly if you are going
> to do a lot
> >of calls. I also asked other developers of ebay auction software (foodog
> >shootingstar) how they worked their stuff.
> >
> >It appears that scraping is what you need to be able to do. It
> seems to work
> >quite well for auction tracking. I didn't get into auction
> submission, then
> >again I was trying to do item sale price analysis over time.
> >
> >Adam
> >
> >
> > > -----Original Message-----
> > > From: Gordon Burns [mailto:[EMAIL PROTECTED]
> > > Sent: 31 December 2003 08:33
> > > To: [EMAIL PROTECTED]
> > > Subject: [ cf-dev ] Ebay API
> > >
> > >
> > >
> > > Client has asked me about this and I am just starting to look at
> > > the developer program.
> > >
> > > Does anyone have any experience they could share?
> > >
> > > Regards
> > >
> > > Gordon
> > >
> > >
>
>
> --
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
>
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> For human help, e-mail: [EMAIL PROTECTED]
>
>
>




-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to