Tesla/alert/config.go
Matthieu 'JP' DERASSE 82f0e71ccc
All checks were successful
continuous-integration/drone/push Build is passing
feat(propulsion): Also handle propulsion
2023-06-19 21:16:33 +00:00

27 lines
567 B
Go

package alert
import (
"git.dev.m-and-m.ovh/mderasse/tesla/api"
)
// PriceAlert contain the minimum price that will trigger an alert.
var PriceAlert int64 = 47000
var carFilter api.AvailabilityQueryParams = api.AvailabilityQueryParams{
Model: "my",
Condition: "new",
Options: api.OptionsParams{
Trim: []string{"SRRWD", "LRAWD"},
},
Arrangeby: "Price",
Order: "asc",
Market: "FR",
Language: "fr",
SuperRegion: "north america",
Lng: 3.0511,
Lat: 50.624,
Zip: "59100",
Range: 0,
Region: "FR",
}