strava_map/activities.py
def save(self, path=None, filename=None):
        """Saves downloaded activity data as a JSON file
        Args:
            filename (str, optional): Path to a directory to save activity data. Defaults to None.
        """
        if not filename:
            filename = str(dt.date.today()) + '_strava_activities.json'
            
        if path:
            filename = path + filename

        self.data.to_json(filename)
Saves downloaded activity data as a JSON file
        Args:
            filename (str, optional): Path to a directory to save activity data. Defaults to None.
        
Saves downloaded activity data as a JSON file
Saves downloaded activity data as a JSON file
def save(self, path=None, filename=None):
        if not filename:
            filename = str(dt.date.today()) + '_strava_activities.json'
        if path:
            filename = path + filename
        self.data.to_json(filename)
def save ( self , path = None , filename = None ) : if not filename : filename = str ( dt . date . today ( ) ) + '_strava_activities.json' if path : filename = path + filename self . data . to_json ( filename )
Saves downloaded activity data as a JSON file
Saves downloaded activity data as a JSON file
"""Saves downloaded activity data as a JSON file
        Args:
            filename (str, optional): Path to a directory to save activity data. Defaults to None.
        """
self
path
filename
Path to a directory to save activity data. Defaults to None.
Path to a directory to save activity data . Defaults to None .
None