List of records of a specific ticker https://docs.blockfrost.io/#tag/nut.link/GET/nutlink/tickers/{ticker} :param ticker: Ticker for the pool record. :type ticker: str :param return_type: Optional. "object", "json" or "pandas". Default: "object". :type return_type: str
(self, ticker: str, **kwargs)
| 91 | |
| 92 | @list_request_wrapper |
| 93 | def nutlink_ticker(self, ticker: str, **kwargs): |
| 94 | """ |
| 95 | List of records of a specific ticker |
| 96 | |
| 97 | https://docs.blockfrost.io/#tag/nut.link/GET/nutlink/tickers/{ticker} |
| 98 | |
| 99 | :param ticker: Ticker for the pool record. |
| 100 | :type ticker: str |
| 101 | :param return_type: Optional. "object", "json" or "pandas". Default: "object". |
| 102 | :type return_type: str |
| 103 | :param gather_pages: Optional. Default: 100. Will collect all pages into one return |
| 104 | :type gather_pages: bool |
| 105 | :param count: Optional. Default: 1. The number of results displayed on one page. |
| 106 | :type count: int |
| 107 | :param page: Optional. The page number for listing the results. |
| 108 | :type page: int |
| 109 | :param order: Optional. "asc" or "desc". Default: "asc". |
| 110 | :type order: str |
| 111 | :returns A list of NutlinkTickerResponse objects. |
| 112 | :rtype [NutlinkTickerResponse] |
| 113 | :raises ApiError: If API fails |
| 114 | :raises Exception: If the API response is somehow malformed. |
| 115 | """ |
| 116 | return requests.get( |
| 117 | url=f"{self.url}/nutlink/tickers/{ticker}", |
| 118 | params=self.query_parameters(kwargs), |
| 119 | headers=self.default_headers |
| 120 | ) |
nothing calls this directly
no test coverage detected