mirrored_repositories/beecontrol/lib/pages
// 🌎 Project imports:
import '../../services/feed/feed_repository.dart';
import '../../services/weather/api_keys.dart';
import '../../services/weather/weather_api_client.dart';
import '../../services/weather/weather_repository.dart';

class HomeController {
  final WeatherRepository _weatherRepository = WeatherRepository(
      weatherApiClient: WeatherApiClient(apiKey: ApiKey.OPEN_WEATHER_MAP));
  final FeedRepository _feedRepository = FeedRepository();

  Future getWeather() async {
    var weather = await _weatherRepository.getWeather('Bambuí');
    return weather;
  }

  Future getFeed() async {
    var feed = await _feedRepository.getFeed();
    return feed;
  }
}
