hsebaysdk-0.4.0.0: Haskell eBay SDK

Copyright(c) Christopher Reichert 2014
LicenseAllRightsReserved
MaintainerChristopher Reichert <creichert@reichertbrothers.com>
Stabilityexperimental
PortabilityGNU/Linux, FreeBSD
Safe HaskellNone
LanguageHaskell2010

Web.Ebay

Contents

Description

Haskell SDK for Ebay Finding API

Synopsis

Functions

searchWithVerb #

Arguments

:: MonadIO m 
=> EbayConfig

api configuration

-> FindVerb

action to run

-> Search

search request

-> Manager

http connection manager

-> m (Maybe SearchResponse) 

Runs an eBay Finding API search

defaultEbayConfig :: EbayConfig #

Default Ebay configuration for working with the finding API in a sandbox.

Ebay API types.

data SearchRequest #

Ebay Finding API search request.

Constructors

SearchRequest 

Fields

data SearchResponse #

Represents a Response from the eBay finding api

TODO: Search responses technically have a list of SearchResult

data SortOrder #

Instances

Show SortOrder # 
Generic SortOrder # 

Associated Types

type Rep SortOrder :: * -> * #

ToJSON SortOrder # 
type Rep SortOrder # 
type Rep SortOrder = D1 (MetaData "SortOrder" "Web.Ebay" "hsebaysdk-0.4.0.0-HSwBcSUZrgzK35WBXlZv2i" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "EndTimeSoonest" PrefixI False) U1) (C1 (MetaCons "BestMatch" PrefixI False) U1)) ((:+:) (C1 (MetaCons "BidCountFewest" PrefixI False) U1) ((:+:) (C1 (MetaCons "BidCountMost" PrefixI False) U1) (C1 (MetaCons "CountryAscending" PrefixI False) U1)))) ((:+:) ((:+:) (C1 (MetaCons "CountryDescending" PrefixI False) U1) ((:+:) (C1 (MetaCons "CurrentPriceHighest" PrefixI False) U1) (C1 (MetaCons "DistanceNearest" PrefixI False) U1))) ((:+:) (C1 (MetaCons "PricePlusShipingHighest" PrefixI False) U1) ((:+:) (C1 (MetaCons "PricePlusShippingLowest" PrefixI False) U1) (C1 (MetaCons "StartTimeNewest" PrefixI False) U1)))))

data EbayConfig #

Ebay api configuration.

Constructors

EbayConfig 

Fields

data SellingState #

Instances

Eq SellingState # 
Show SellingState # 
Generic SellingState # 

Associated Types

type Rep SellingState :: * -> * #

FromJSON SellingState # 
type Rep SellingState # 
type Rep SellingState = D1 (MetaData "SellingState" "Web.Ebay" "hsebaysdk-0.4.0.0-HSwBcSUZrgzK35WBXlZv2i" False) ((:+:) ((:+:) (C1 (MetaCons "Active" PrefixI False) U1) (C1 (MetaCons "Canceled" PrefixI False) U1)) ((:+:) (C1 (MetaCons "Ended" PrefixI False) U1) ((:+:) (C1 (MetaCons "EndedWithSales" PrefixI False) U1) (C1 (MetaCons "EndedWithoutSales" PrefixI False) U1))))

data Condition #

Condition is made up of condition id condition display name

Constructors

Condition Text Text 

data OutputSelector #

Instances

Read OutputSelector # 
Show OutputSelector # 
Generic OutputSelector # 

Associated Types

type Rep OutputSelector :: * -> * #

ToJSON OutputSelector # 
FromJSON OutputSelector # 
type Rep OutputSelector # 
type Rep OutputSelector = D1 (MetaData "OutputSelector" "Web.Ebay" "hsebaysdk-0.4.0.0-HSwBcSUZrgzK35WBXlZv2i" False) ((:+:) ((:+:) ((:+:) (C1 (MetaCons "AspectHistogram" PrefixI False) U1) (C1 (MetaCons "CategoryHistogram" PrefixI False) U1)) ((:+:) (C1 (MetaCons "ConditionHistogram" PrefixI False) U1) (C1 (MetaCons "GalleryInfoOutput" PrefixI False) U1))) ((:+:) ((:+:) (C1 (MetaCons "PictureURLLarge" PrefixI False) U1) (C1 (MetaCons "PictureURLSuperSize" PrefixI False) U1)) ((:+:) (C1 (MetaCons "SellerInfo" PrefixI False) U1) ((:+:) (C1 (MetaCons "StoreInfo" PrefixI False) U1) (C1 (MetaCons "UnitPriceInfo" PrefixI False) U1)))))

data AffiliateInfo #

Constructors

AffiliateInfo 

Fields

  • networkId :: !Int

    The networkId specifies the third party who is your tracking partner. When specifying affiliate details, this field is required. Not all partners are valid for all sites.

  • trackingId :: !Int

    The trackingId specifies an ID to identify you to your tracking partner. The value you specify is obtained from your tracking partner. For eBay Partner Network, the trackingId is the Campaign ID ("campid") provided by eBay Partner Network. A Campaign ID is a 10-digit, unique number to be used for associating traffic. A Campaign ID is valid across all programs to which you have been accepted.

  • customId :: !(Maybe Int)

    The customId need not be specified. You can define a customId (up to 256 characters) if you want to leverage it to better monitor your marketing efforts. If you are using the eBay Partner Network, and you provide a customId, it will be contained in the tracking URL returned by eBay Partner Network.