title: Querying more properties in Google Search Console via python script
body: <p>I am using a Python (2.7) script to download via API Google Search Console data. I would like to get rid of the property and dates arguments when launching the script:</p>
  
  <pre><code>&gt;python script. py ´http://www.example.com´ ´01-01-2000´ ´01-02-2000´
  </code></pre>
  
  <p>For the latter I managed to do it importing timedelta and commenting out the lines referring to that argument:</p>
  
  <pre><code>argparser = argparse.ArgumentParser(add_help=False)
  argparser.add_argument('property_uri', type=str,
                          help=('Site or app URI to query data for (including '
                          'trailing slash).'))
  # Start and end dates are commented out as timeframe is dynamically set
  '''argparser.add_argument('start_date', type=str,
                          help=('Start date of the requested date range in '
                          'YYYY-MM-DD format.'))
  argparser.add_argument('end_date', type=str,
                          help=('End date of the requested date range in '
                          'YYYY-MM-DD format.'))'''
  
  now = datetime.datetime.now()   
  StartDate = datetime.datetime.now()- timedelta(days=14) 
  EndDate = datetime.datetime.now()- timedelta(days=7)
  
  From = StartDate.strftime('%Y-%m-%d' )
  
  To = EndDate.strftime('%Y-%m-%d' ) 
  
  request = {
          'startDate': StartDate.strftime('%Y-%m-%d' ),
          'endDate': EndDate.strftime('%Y-%m-%d' ),
          'dimensions': ['query'],
  </code></pre>
  
  <p>Now I would like get rid also of the property argument, so that I can simply launch the script and have the property specified in the script itself. My final goal is to get data from several properties using only one script.</p>
  
  <p>I tried to repeat the same procedure used for the dates but no luck. Needless to say I am a total beginner at coding.</p>