LocalMarket
Access local market information from FIO.
LocalMarket
Bases: AbstractLocalMarket
, AbstractEndpoint
planet
Gets local market ads for planet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetNotFound
|
Planet not found |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketAds |
LocalMarketAds
|
List of ads |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
planet_buy
Gets all BUY ads from the planets local market
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetOrAdsNotFound
|
Planet not found or no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketAdList |
LocalMarketAdList
|
List of planet local market BUY ads |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
planet_sell
Gets all SELL ads from planets local market
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetOrAdsNotFound
|
Planet not found or no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketAdList |
LocalMarketAdList
|
List of planet local market SELL ads |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
planet_shipping
Gets a list of planets shipping ads
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetOrAdsNotFound
|
Planet not found or no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketShippingAdList |
LocalMarketShippingAdList
|
List of planet local market SHIPPING ads |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
shipping_from
Gets a list of SHIPPING ads starting from planet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetOrAdsNotFound
|
Planet not found or no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketShippingAdList |
LocalMarketShippingAdList
|
List of shipping ads from planet |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
shipping_to
Gets a list of SHIPPING ads ending at planet
Parameters:
Name | Type | Description | Default |
---|---|---|---|
planet |
str
|
PlanetId, PlanetNaturalId, PlanetName |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
PlanetOrAdsNotFound
|
Planet not found or no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketShippingAdList |
LocalMarketShippingAdList
|
List of shipping ads to planet |
Source code in fio_wrapper/endpoints/endpoints_v1/localmarket.py
company
Gets a list of all ads of the specified company
Parameters:
Name | Type | Description | Default |
---|---|---|---|
companycode |
str
|
Company Code (e.g., "SKYP") |
required |
timeout |
float
|
Request timeout in seconds. Defaults to None. |
None
|
Raises:
Type | Description |
---|---|
CompanyOrAdsNotFound
|
Company not found or company has no ads |
Returns:
Name | Type | Description |
---|---|---|
LocalMarketAds |
LocalMarketAds
|
List of local market ads of company |