Skip to content

Ideas for future versions #72

Open
@cmfcmf

Description

@cmfcmf

Cleanup and Minor Features

  • Remove deprecated methods and constructor arguments from the OpenWeatherMap class
  • Change ° C back to °C (The API should not be HTML aware.)
  • Add better error handling
  • Make sure to handle invalid data from OWM properly (Invalid argument supplied for foreach() in WeatherForecast.php on line 85 #100)
  • getRawWeatherGroupData() #131
  • Remove population field from City.
  • Remove $appid from all methods except constructor
  • Split forecast apis into two methods (no more magic depending on the number of requested days)
  • Rename temperature->current to temperature->avg
  • Split up Temperature class into separate class for 16 day forecast
  • Merge getCurrentWeather() and getCurrentWeatherGroup()

Documentation

Tests

  • Achieve 100% test code coverage
    • Find a tool to create a mock api server
    • Integrate mock api server

New Features


You are welcome to propose further (backwards incompatible) changes.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions