docstr: recent endpoint
  
  Args:
      period (str, optional): the desired `day` or `week` or `month` period. Defaults to None.
  
  Returns:
      pd.DataFrame: pandas dataframe
docstr_tok: ["recent","endpoint","Args",":","period","(","str",",","optional",")",":","the","desired","`","day","`","or","`","week","`","or","`","month","`","period",".","Defaults","to","None",".","Returns",":","pd.DataFrame",":","pandas","dataframe"]
code: def recent(self, period: str = None) -> pd.DataFrame:
      """recent endpoint
  
      Args:
          period (str, optional): the desired `day` or `week` or `month` period. Defaults to None.
  
      Returns:
          pd.DataFrame: pandas dataframe
      """
      endpoint: str = path.join(self.endpoint, "recent")
      params: Dict = {}
  
      if period:
          params["period"] = period
  
      payload = requests.get(endpoint, params=params).json()["data"]
  
      df = self.__to_dataframe(payload, [0])
  
      return df
  
file_path: mindsdb/mindsdb/integrations/handlers/pypi_handler/api.py
imports: from os import path
  from typing import Collection, Dict
  import numpy
  import pandas
  import requests
label_desc: Use image node_id 2 for calling the PyPI obj's underlying member method code with example usage: obj.recent(period) and returns: df