hsebaysdk-0.4.1.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 SearchItem Source #

A single ebay listing item

Note that some fields have not yet been implemented from the ebay api documentation.

Instances
Show SearchItem Source # 
Instance details

Defined in Web.Ebay

FromJSON SearchItem Source # 
Instance details

Defined in Web.Ebay

data SortOrder Source #

Instances
Show SortOrder Source # 
Instance details

Defined in Web.Ebay

Generic SortOrder Source # 
Instance details

Defined in Web.Ebay

Associated Types

type Rep SortOrder :: Type -> Type #

ToJSON SortOrder Source # 
Instance details

Defined in Web.Ebay

type Rep SortOrder Source # 
Instance details

Defined in Web.Ebay

type Rep SortOrder = D1 (MetaData "SortOrder" "Web.Ebay" "hsebaysdk-0.4.1.0-8lPgq7ZPKhZ6ebd2oOxukk" False) (((C1 (MetaCons "EndTimeSoonest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "BestMatch" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "BidCountFewest" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "BidCountMost" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CountryAscending" PrefixI False) (U1 :: Type -> Type)))) :+: ((C1 (MetaCons "CountryDescending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "CurrentPriceHighest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "DistanceNearest" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "PricePlusShipingHighest" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PricePlusShippingLowest" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StartTimeNewest" PrefixI False) (U1 :: Type -> Type)))))

data EbayConfig Source #

Ebay api configuration.

Constructors

EbayConfig 

Fields

Instances
Show EbayConfig Source # 
Instance details

Defined in Web.Ebay

data SellingState Source #

Instances
Eq SellingState Source # 
Instance details

Defined in Web.Ebay

Show SellingState Source # 
Instance details

Defined in Web.Ebay

Generic SellingState Source # 
Instance details

Defined in Web.Ebay

Associated Types

type Rep SellingState :: Type -> Type #

FromJSON SellingState Source # 
Instance details

Defined in Web.Ebay

type Rep SellingState Source # 
Instance details

Defined in Web.Ebay

type Rep SellingState = D1 (MetaData "SellingState" "Web.Ebay" "hsebaysdk-0.4.1.0-8lPgq7ZPKhZ6ebd2oOxukk" False) ((C1 (MetaCons "Active" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Canceled" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "Ended" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "EndedWithSales" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "EndedWithoutSales" PrefixI False) (U1 :: Type -> Type))))

newtype ItemFilter Source #

Constructors

ItemFilter (Text, Text) 
Instances
Show ItemFilter Source # 
Instance details

Defined in Web.Ebay

ToJSON ItemFilter Source # 
Instance details

Defined in Web.Ebay

data Condition Source #

Condition is made up of condition id condition display name

Constructors

Condition Text Text 
Instances
Show Condition Source # 
Instance details

Defined in Web.Ebay

FromJSON Condition Source # 
Instance details

Defined in Web.Ebay

data OutputSelector Source #

Instances
Read OutputSelector Source # 
Instance details

Defined in Web.Ebay

Show OutputSelector Source # 
Instance details

Defined in Web.Ebay

Generic OutputSelector Source # 
Instance details

Defined in Web.Ebay

Associated Types

type Rep OutputSelector :: Type -> Type #

ToJSON OutputSelector Source # 
Instance details

Defined in Web.Ebay

FromJSON OutputSelector Source # 
Instance details

Defined in Web.Ebay

type Rep OutputSelector Source # 
Instance details

Defined in Web.Ebay

type Rep OutputSelector = D1 (MetaData "OutputSelector" "Web.Ebay" "hsebaysdk-0.4.1.0-8lPgq7ZPKhZ6ebd2oOxukk" False) (((C1 (MetaCons "AspectHistogram" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "CategoryHistogram" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "ConditionHistogram" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "GalleryInfoOutput" PrefixI False) (U1 :: Type -> Type))) :+: ((C1 (MetaCons "PictureURLLarge" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "PictureURLSuperSize" PrefixI False) (U1 :: Type -> Type)) :+: (C1 (MetaCons "SellerInfo" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "StoreInfo" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "UnitPriceInfo" PrefixI False) (U1 :: Type -> Type)))))

data GalleryInfo Source #

Constructors

GalleryInfo 

Fields

Instances
Show GalleryInfo Source # 
Instance details

Defined in Web.Ebay

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.