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})
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}))
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)
def export_scv(): """ Display all data in csv :return: csv """ return json_to_scv(data_export())
def export_json(): """ Display all data in json :return: json """ return data_export()
def download_scv(): """ Download all data in csv file :return: csv file """ return json_to_scv(data_export(), download=True)
def download_json(): """ Download all data in json file :return: json file """ return data_export(download=True)