Skip to content

Latest commit

 

History

History
302 lines (248 loc) · 7.72 KB

05-entities.md

File metadata and controls

302 lines (248 loc) · 7.72 KB

Entities

One Call

Weather

WeatherMoment

  • getCoordinate(): Coordinate
  • getTimezone(): Timezone
  • getDateTime(): \DateTimeImmutable
  • getTemperature(): float
  • getTemperatureFeelsLike(): float
  • getAtmosphericPressure(): int
  • getHumidity(): int
  • getDewPoint(): float
  • getUltraVioletIndex(): ?float
  • getCloudiness(): int
  • getVisibility(): ?int
  • getWind(): Wind
  • getConditions(): Condition[]
  • getSummary(): ?string
  • getRainVolume(): ?float
  • getSnowVolume(): ?float
  • getMoonPhase(): ?MoonPhase
  • getSunriseAt(): ?\DateTimeImmutable
  • getSunsetAt(): ?\DateTimeImmutable
  • getMoonriseAt(): ?\DateTimeImmutable
  • getMoonsetAt(): ?\DateTimeImmutable

WeatherSummary

  • getCoordinate(): Coordinate
  • getTimezone(): Timezone
  • getDateTime(): \DateTimeImmutable
  • getCloudiness(): int
  • getHumidity(): int
  • getPrecipitation(): float
  • getTemperature(): Temperature
  • getAtmosphericPressure(): int
  • getWind(): Wind

WeatherData

  • getDateTime(): \DateTimeImmutable
  • getTemperature(): float
  • getTemperatureFeelsLike(): float
  • getAtmosphericPressure(): int
  • getVisibility(): ?int
  • getHumidity(): int
  • getDewPoint(): float
  • getUltraVioletIndex(): ?float
  • getCloudiness(): int
  • getWind(): Wind
  • getConditions(): Condition[]
  • getRainVolume(): ?float
  • getSnowVolume(): ?float
  • getSunriseAt(): ?\DateTimeImmutable
  • getSunsetAt(): ?\DateTimeImmutable

MinuteData

  • getDateTime(): \DateTimeImmutable
  • getPrecipitation(): float

HourData

  • getDateTime(): \DateTimeImmutable
  • getTemperature(): float
  • getTemperatureFeelsLike(): float
  • getVisibility(): int
  • getPrecipitationProbability(): int
  • getAtmosphericPressure(): int
  • getHumidity(): int
  • getDewPoint(): float
  • getUltraVioletIndex(): ?float
  • getCloudiness(): int
  • getWind(): Wind
  • getConditions(): Condition[]
  • getRainVolume(): ?float
  • getSnowVolume(): ?float

DayData

  • getDateTime(): \DateTimeImmutable
  • getTemperature(): Temperature
  • getTemperatureFeelsLike(): Temperature
  • getPrecipitationProbability(): int
  • getAtmosphericPressure(): int
  • getHumidity(): int
  • getDewPoint(): float
  • getUltraVioletIndex(): ?float
  • getCloudiness(): int
  • getWind(): Wind
  • getConditions(): Condition[]
  • getRainVolume(): ?float
  • getSnowVolume(): ?float
  • getSummary(): string
  • getMoonPhase(): MoonPhase
  • getSunriseAt(): \DateTimeImmutable
  • getSunsetAt(): \DateTimeImmutable
  • getMoonriseAt(): \DateTimeImmutable
  • getMoonsetAt(): \DateTimeImmutable

Alert

  • getSenderName(): string
  • getEventName(): string
  • getStartsAt(): \DateTimeImmutable
  • getEndsAt(): \DateTimeImmutable
  • getDescription(): string
  • getTags(): array

MoonPhase

  • getValue(): float
  • getName(): string
  • getSystemName(): string

Temperature

  • getMorning(): float
  • getDay(): float
  • getEvening(): float
  • getNight(): float
  • getMin(): ?float
  • getMax(): ?float

Weather

Weather

  • getLocation(): Location
  • getDateTime(): \DateTimeImmutable
  • getTemperature(): float
  • getTemperatureFeelsLike(): float
  • getMinTemperature(): float
  • getMaxTemperature(): float
  • getHumidity(): int
  • getCloudiness(): int
  • getVisibility(): int
  • getAtmosphericPressure(): int
  • getConditions(): Condition[]
  • getWind(): Wind
  • getPrecipitationProbability(): ?int
  • getRainVolume(): ?float
  • getSnowVolume(): ?float

WeatherCollection

WeatherData

  • getDateTime(): \DateTimeImmutable
  • getTemperature(): float
  • getTemperatureFeelsLike(): float
  • getMinTemperature(): float
  • getMaxTemperature(): float
  • getHumidity(): int
  • getCloudiness(): int
  • getVisibility(): int
  • getAtmosphericPressure(): int
  • getConditions(): Condition[]
  • getWind(): Wind
  • getPrecipitationProbability(): ?int
  • getRainVolume(): ?float
  • getSnowVolume(): ?float

Air Pollution

AirPollution

  • getCoordinate(): Coordinate
  • getDateTime(): \DateTimeImmutable
  • getAirQuality: AirQuality
  • getCarbonMonoxide(): float
  • getNitrogenMonoxide(): float
  • getNitrogenDioxide(): float
  • getOzone(): float
  • getSulphurDioxide(): float
  • getFineParticulateMatter(): float
  • getCoarseParticulateMatter(): float
  • getAmmonia(): float

AirPollutionCollection

AirPollutionData

  • getDateTime(): \DateTimeImmutable
  • getAirQuality: AirQuality
  • getCarbonMonoxide(): float
  • getNitrogenMonoxide(): float
  • getNitrogenDioxide(): float
  • getOzone(): float
  • getSulphurDioxide(): float
  • getFineParticulateMatter(): float
  • getCoarseParticulateMatter(): float
  • getAmmonia(): float

AirQuality

  • getIndex(): int
  • getQualitativeName(): string

Geocoding

ZipLocation

  • getZipCode(): string
  • getName(): string
  • getCountryCode(): string
  • getCoordinate(): Coordinate

Common

Coordinate

  • getLatitude(): float
  • getLongitude(): float

Condition

  • getId(): int
  • getName(): string
  • getDescription(): string
  • getIcon(): Icon
  • getSystemName(): string

Icon

  • getId(): string
  • getUrl(): string

Location

  • getCoordinate(): Coordinate
  • getId(): ?int
  • getName(): ?string
  • getState(): ?string
  • getCountryCode(): ?string
  • getLocalNames(): ?array
  • getLocalName(string $countryCode): ?string
  • getPopulation(): ?int
  • getTimezone(): ?Timezone
  • getSunriseAt(): ?\DateTimeImmutable
  • getSunsetAt(): ?\DateTimeImmutable

Timezone

  • getOffset(): int
  • getIdentifier(): ?string

Wind

  • getSpeed(): float
  • getDirection(): int
  • getGust(): ?float