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 Source #

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 Source #

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

Ebay API types.

data SearchRequest Source #

Ebay Finding API search request.

Constructors

SearchRequest 

Fields

data SearchResponse Source #

Represents a Response from the eBay finding api

TODO: Search responses technically have a list of SearchResult

data SortOrder Source #

Instances

Show SortOrder Source # 
Generic SortOrder Source # 

Associated Types

type Rep SortOrder :: * -> * #

ToJSON SortOrder Source # 
type Rep SortOrder Source # 
type Rep SortOrder = D1 (MetaData "SortOrder" "Web.Ebay" "hsebaysdk-0.4.0.0-JASBkNb4bS7Fh1C5tjtNFc" 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 Source #

Ebay api configuration.

Constructors

EbayConfig 

Fields

data SellingState Source #

Instances

Eq SellingState Source # 
Show SellingState Source # 
Generic SellingState Source # 

Associated Types

type Rep SellingState :: * -> * #

FromJSON SellingState Source # 
type Rep SellingState Source # 
type Rep SellingState = D1 (MetaData "SellingState" "Web.Ebay" "hsebaysdk-0.4.0.0-JASBkNb4bS7Fh1C5tjtNFc" 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 Source #

Condition is made up of condition id condition display name

Constructors

Condition Text Text 

data OutputSelector Source #

Instances

Read OutputSelector Source # 
Show OutputSelector Source # 
Generic OutputSelector Source # 

Associated Types

type Rep OutputSelector :: * -> * #

ToJSON OutputSelector Source # 
FromJSON OutputSelector Source # 
type Rep OutputSelector Source # 
type Rep OutputSelector = D1 (MetaData "OutputSelector" "Web.Ebay" "hsebaysdk-0.4.0.0-JASBkNb4bS7Fh1C5tjtNFc" 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 Source #

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.