#!/usr/bin/env python
# -*- coding: utf-8 -*-

from google_streetview.cli import run

if __name__ == '__main__':
    run()
Esempio n. 2
0
 def test_save_metadata(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988',
         '--save_metadata=' + self.tempfile
     ]
     run(argv)
Esempio n. 3
0
 def test_download_links(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988',
         '--save_downloads=' + str(self.tempdir)
     ]
     run(argv)
Esempio n. 4
0
 def test_camera_multi(self):
     argv = [
         'cli.py', '--pano=vPnURflnc8AZu5NMLYRddw;A1v2IdX_6HKnIQa2SPyyAg',
         '--size=640x300', '--heading=0;90;180;270', '--fov=90', '--pitch=0'
     ]
     run(argv)
Esempio n. 5
0
 def test_search_pano_multi(self):
     argv = [
         'cli.py', '--pano=vPnURflnc8AZu5NMLYRddw;A1v2IdX_6HKnIQa2SPyyAg'
     ]
     run(argv)
Esempio n. 6
0
 def test_search_pano(self):
     argv = ['cli.py', '--pano=vPnURflnc8AZu5NMLYRddw']
     run(argv)
Esempio n. 7
0
 def test_search_location_multi(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988;40.720032,-73.988354'
     ]
     run(argv)
Esempio n. 8
0
 def test_search_location(self):
     argv = ['cli.py', '--location=46.414382,10.013988']
     run(argv)