Up_DW.upload_people_traffic (eng) - datawizio/pythonAPI GitHub Wiki
Uploads to server clients traffic at shop.
Gets a list of objects in the format
[
{
"traffic_id": <traffic_id>,
"date": <date>,
"shop_id": <shop_id>
}
...
]
or a path to the file *.csv.
Parameters:
-
columns: list, default: ['traffic_id', 'shop_id', 'date']
Sorted list of columns in the table in the file .csv.
-
splitter: str, default: ";"
Splitter of data in the file .csv.
Examples:
dwup = datawiz_upload.Up_DW()
dwup.upload_people_traffic('/home/user/people_traffic.csv')