示例#1
0
def export_json_path(address):
    """
	Display selected data in json
	:param address: website address example: https://www.youtube.com/
	:return: json
	"""
    return data_export(query={'Address': address})
示例#2
0
def export_csv_path(address):
    """
	Display selected data in csv
	:param address: website address example: https://www.youtube.com/
	:return: csv
	"""
    return json_to_scv(data_export(query={'Address': address}))
示例#3
0
def download_csv_path(address):
    """
	Download selected data in csv file
	:param address: website address example: https://www.youtube.com/
	:return: json file
	"""
    return json_to_scv(data_export(query={'Address': address}), download=True)
示例#4
0
def export_scv():
    """
	Display all data in csv
	:return: csv
	"""
    return json_to_scv(data_export())
示例#5
0
def export_json():
    """
	Display all data in json
	:return: json
	"""
    return data_export()
示例#6
0
def download_scv():
    """
	Download all data in csv file
	:return: csv file
	"""
    return json_to_scv(data_export(), download=True)
示例#7
0
def download_json():
    """
	Download all data in json file
	:return: json file
	"""
    return data_export(download=True)