🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.vbasic
Article #104708

Re: Allegro Web API.

#104708
From: Jacek
Date: Thu, 21 Oct 2010 11:21
48 lines
2459 bytes
Dzieki za odpowiedz.
Problem jest taki, ze w zasadzie chodzi tutaj o VBA, gdzie nie ma out.
Co prawda doszedlem juz do tego, natomiast jak sie dobrac do czegos
takiego:
http://allegro.pl/webapi/documentation.php/show/id,103#method-output

Za pomoca Office 2003 Web Services Toolkit zaiportowalem klasy z Allegro.
Jest klasa *struct_UserItemList*, a w niej:

Public it_id As Double
Public it_name As String
Public it_price As Double
Public it_buy_now_price As Double
Public it_bid_count As Long
Public it_time_left As Double
Public it_foto_count As Long
Public it_is_listing_thumb As Long
Public it_is_bold_title As Long
Public it_is_buy_now As Long
Public it_country As Long
Public it_is_escrow As Long
Public it_starting_time As Double
Public it_is_reserved_price As Long
Public it_thumb_url As String

Mamy funkcje:

Public Function *wsm_doGetUserItems*(ByVal lng_user_id As Long, ByVal
str_webapi_key As String, ByVal lng_country_id As Long, ByVal lng_offset As
Long, ByVal lng_limit As Long, ByRef lng_user_item_count As Long) As
Variant
   
    On Error GoTo wsm_doGetUserItemsTrap

    wsm_doGetUserItems =
sc_AllegroWebApiService.doGetUserItems(lng_user_id, str_webapi_key,
lng_country_id, lng_offset, lng_limit, lng_user_item_count)

Exit Function
wsm_doGetUserItemsTrap:
    AllegroWebApiServiceErrorHandler "wsm_doGetUserItems"
End Function

Funkcja zwroci tablice. Jak sie dobrac do tej tablicy?
Mam na mysli co gdzie zadeklarowac i jak to co zwroci funkcja
dodac do tabeli Akcesa.

Pozdrawiam.
Technical Details
Message-ID: <th4siyepkalu.1mykz1m6xtrim.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
References: <186757x91btmv$.13k9ly88440ob.dlg@40tude.net> <2e9db202-5167-4f9b-b7b7-c97b88893807@c10g2000yqh.googlegroups.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!not-for-mail
From: Jacek <ala@ola.pl>
Newsgroups: pl.comp.lang.vbasic
Subject: Re: Allegro Web API.
Date: Thu, 21 Oct 2010 13:21:57 +0200
Organization: "Portal Gazeta.pl -> http://www.gazeta.pl"
Lines: 48
Message-ID: <th4siyepkalu.1mykz1m6xtrim.dlg@40tude.net>
References: <186757x91btmv$.13k9ly88440ob.dlg@40tude.net> <2e9db202-5167-4f9b-b7b7-c97b88893807@c10g2000yqh.googlegroups.com>
NNTP-Posting-Host: 77-253-58-7.adsl.inetia.pl
Mime-Version: 1.0
X-Trace: inews.gazeta.pl 1287660118 13636 77.253.58.7 (21 Oct 2010 11:21:58 GMT)
X-Complaints-To: usenet@agora.pl
NNTP-Posting-Date: Thu, 21 Oct 2010 11:21:58 +0000 (UTC)
X-User: sha-lom
X-Antivirus: avast! (VPS 101021-0, 2010-10-21), Outbound message
X-Antivirus-Status: Clean
User-Agent: 40tude_Dialog/2.0.15.1pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit