Naver Trend¶
Naver
¶
Naver(api_key=None, **kwargs: Any)
Bases: API
Client to fetch Naver trend data from DataMaxi+ API.
Parameters:
-
api_key
(str
, default:None
) –The DataMaxi+ API key
-
**kwargs
(Any
, default:{}
) –Keyword arguments used by
datamaxi.api.API
.
symbols
¶
symbols() -> List[str]
Get Naver trend supported token symbols
GET /api/v1/naver/symbols
https://docs.datamaxiplus.com/rest/trend/naver/symbols
Returns:
-
List[str]
–List of supported Naver trend token symbols
trend
¶
trend(
symbol: str, pandas: bool = True
) -> Union[List, pd.DataFrame]
Get Naver trend for given token symbol
GET /api/v1/naver/trend
https://docs.datamaxiplus.com/rest/trend/naver/trend
Parameters:
-
symbol
(str
) –token symbol to search for
-
pandas
(bool
, default:True
) –Return data as pandas DataFrame
Returns:
-
Union[List, DataFrame]
–Naver trend data