How to make script to import data into Traccar

fredericp4 years ago

Dear all,
I just finished to setup and install traccar. Now i have to entry all devices in. I have many devices and iwonder if it is possible to import those data. If it is, can someone help me on how to make some script to import data.
Thanks
Frederic

Anton Tananaev4 years ago

You can use API to import the data. You can also insert data directly into the dataset using some SQL scripts. Make sure to restart service if you do latter.

fredericp4 years ago

Hi Anton. Thanks a lot. Is it safe to insert data directly into the dataset with sql commands? I m using Mysql. Thanks

Anton Tananaev4 years ago

Should be safe. Just make sure to restart the service after.

fredericp4 years ago

Thanks.