Tesla/alert/config.go

27 lines
567 B
Go
Raw Normal View History

2023-06-05 13:41:48 +00:00
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"},
2023-06-05 13:41:48 +00:00
},
Arrangeby: "Price",
Order: "asc",
Market: "FR",
Language: "fr",
SuperRegion: "north america",
Lng: 3.0511,
Lat: 50.624,
Zip: "59100",
Range: 0,
Region: "FR",
}