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

from google_streetview.cli import run

if __name__ == '__main__':
    run()
示例#2
0
 def test_save_metadata(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988',
         '--save_metadata=' + self.tempfile
     ]
     run(argv)
示例#3
0
 def test_download_links(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988',
         '--save_downloads=' + str(self.tempdir)
     ]
     run(argv)
示例#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)
示例#5
0
 def test_search_pano_multi(self):
     argv = [
         'cli.py', '--pano=vPnURflnc8AZu5NMLYRddw;A1v2IdX_6HKnIQa2SPyyAg'
     ]
     run(argv)
示例#6
0
 def test_search_pano(self):
     argv = ['cli.py', '--pano=vPnURflnc8AZu5NMLYRddw']
     run(argv)
示例#7
0
 def test_search_location_multi(self):
     argv = [
         'cli.py', '--location=46.414382,10.013988;40.720032,-73.988354'
     ]
     run(argv)
示例#8
0
 def test_search_location(self):
     argv = ['cli.py', '--location=46.414382,10.013988']
     run(argv)