| eBay-API documentation | Contained in the eBay-API distribution. |
eBay::API::XML::Call::GetContextualKeywords
eBay::API::XML::Call::GetContextualKeywords inherits from the eBay::API::XML::BaseCall class
The ID of the category to which keywords are to be limited. Zero or more category IDs can be specified.
RequiredInput: No
# Argument: reference to an array
of 'xs:string'
Web page encoding by which the URL is to be handled, such as ISO-8859-1.
RequiredInput: Yes # Argument: 'xs:string'
The URL of the web page from which eBay is to extract keywords.
RequiredInput: Yes # Argument: 'xs:anyURI'
An array of either keyword/category pairs or categories, with ranking and score.
Returned: Always
# Returns: reference to an array
of 'ns:ContextSearchAssetType'
| eBay-API documentation | Contained in the eBay-API distribution. |
#!/usr/bin/perl package eBay::API::XML::Call::GetContextualKeywords; use strict; use warnings; ########################################################################## # # Module: ............... <user defined location>eBay/API/XML # File: ................. GetContextualKeywords.pm # Generated by: ......... genEBayApiDataTypes.pl # Last Generated: ....... 08/24/2008 16:44 # API Release Number: ... 579 # ##########################################################################
use eBay::API::XML::BaseCall; our @ISA = ("eBay::API::XML::BaseCall"); use eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsRequestType; use eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsResponseType;
sub getApiCallName { return 'GetContextualKeywords'; } sub getRequestDataTypeFullPackage { return 'eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsRequestType'; } sub getResponseDataTypeFullPackage { return 'eBay::API::XML::Call::GetContextualKeywords::GetContextualKeywordsResponseType'; } # # input properties #
sub setCategoryID { my $self = shift; my $sCategoryID = shift; $self->getRequestDataType()->setCategoryID($sCategoryID); }
sub setEncoding { my $self = shift; my $sEncoding = shift; $self->getRequestDataType()->setEncoding($sEncoding); }
sub setURL { my $self = shift; my $sURL = shift; $self->getRequestDataType()->setURL($sURL); } # # output properties #
sub getContextSearchAsset { my $self = shift; return $self->getResponseDataType()->getContextSearchAsset(); } 1;