Skip to content

Instantly share code, notes, and snippets.

View randompherret's full-sized avatar

Derek Teague randompherret

View GitHub Profile
@randompherret
randompherret / quantity_unit.php
Last active September 21, 2024 03:24
Script to import conversion factors into grocy
<?php
$apiaccess =[
"url" => "https://grocy.yourdomain.tld/api",
"key" => "1234password"
];
$quantity_units = [
"Cup" => [
"name" => "Cup",
"description" => "",
"name_plural" => "Cups"