C# Class NotifierCore.DataProvider.Gw2SpidyApi

Inheritance: ITradingPostApi
Mostra file Open project: Zicore/TradingPostNotifier

Public Methods

Method Description
ParseBuyGemValue ( Newtonsoft.Json.Linq.JObject json ) : double
ParseBuyGoldValue ( Newtonsoft.Json.Linq.JObject json ) : double
ParseItem ( HotItem item, Newtonsoft.Json.Linq.JObject json ) : HotItem
ParseItemListing ( HotItem item, Newtonsoft.Json.Linq.JObject json ) : HotItem
ParseSearch ( SearchResult sr, Newtonsoft.Json.Linq.JObject json ) : SearchResult
ParseTransaction ( SearchResult sr, Newtonsoft.Json.Linq.JObject json, TransactionType type ) : SearchResult
UriBuildItem ( int dataId ) : string
UriBuyGems ( int count ) : string
UriBuyGold ( int count ) : string
UriListingItem ( int dataId ) : string
UriSearch ( string query, int offset, int count, String type = null, String subType = null, String rarity = null, String levelmin = null, String levelmax = null, String sortingMode = null, bool descending = false ) : string
UriTransaction ( TransactionType type, int offset, int count ) : string

Method Details

ParseBuyGemValue() public method

public ParseBuyGemValue ( Newtonsoft.Json.Linq.JObject json ) : double
json Newtonsoft.Json.Linq.JObject
return double

ParseBuyGoldValue() public method

public ParseBuyGoldValue ( Newtonsoft.Json.Linq.JObject json ) : double
json Newtonsoft.Json.Linq.JObject
return double

ParseItem() public method

public ParseItem ( HotItem item, Newtonsoft.Json.Linq.JObject json ) : HotItem
item NotifierCore.Notifier.HotItem
json Newtonsoft.Json.Linq.JObject
return NotifierCore.Notifier.HotItem

ParseItemListing() public method

public ParseItemListing ( HotItem item, Newtonsoft.Json.Linq.JObject json ) : HotItem
item NotifierCore.Notifier.HotItem
json Newtonsoft.Json.Linq.JObject
return NotifierCore.Notifier.HotItem

ParseSearch() public method

public ParseSearch ( SearchResult sr, Newtonsoft.Json.Linq.JObject json ) : SearchResult
sr NotifierCore.Notifier.SearchResult
json Newtonsoft.Json.Linq.JObject
return NotifierCore.Notifier.SearchResult

ParseTransaction() public method

public ParseTransaction ( SearchResult sr, Newtonsoft.Json.Linq.JObject json, TransactionType type ) : SearchResult
sr NotifierCore.Notifier.SearchResult
json Newtonsoft.Json.Linq.JObject
type TransactionType
return NotifierCore.Notifier.SearchResult

UriBuildItem() public method

public UriBuildItem ( int dataId ) : string
dataId int
return string

UriBuyGems() public method

public UriBuyGems ( int count ) : string
count int
return string

UriBuyGold() public method

public UriBuyGold ( int count ) : string
count int
return string

UriListingItem() public method

public UriListingItem ( int dataId ) : string
dataId int
return string

UriSearch() public method

public UriSearch ( string query, int offset, int count, String type = null, String subType = null, String rarity = null, String levelmin = null, String levelmax = null, String sortingMode = null, bool descending = false ) : string
query string
offset int
count int
type String
subType String
rarity String
levelmin String
levelmax String
sortingMode String
descending bool
return string

UriTransaction() public method

public UriTransaction ( TransactionType type, int offset, int count ) : string
type TransactionType
offset int
count int
return string