{"size": 298, "ext": "js", "max_stars_repo_path": "src/utils/Weather.js", "max_stars_repo_name": "Secret333Boy/smart-loader-bot", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/utils/Weather.js", "max_issues_repo_name": "Secret333Boy/smart-loader-bot", "max_issues_repo_issues_event_min_datetime": "2022-01-22T23:35:06.000Z", "max_issues_repo_issues_event_max_datetime": "2022-01-26T14:29:56.000Z", "max_forks_repo_path": "src/utils/Weather.js", "max_forks_repo_name": "Secret333Boy/smart-loader-bot", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 5, "max_forks_count": null, "avg_line_length": 27.0909090909, "max_line_length": 125, "alphanum_fraction": 0.6979865772}
const utoolslib = require('utoolslib');
const { fetch } = utoolslib.tools;
class Weather {
  static getCurrent() {
    return fetch(
      `https://api.openweathermap.org/data/2.5/weather?q=Kyiv&appid=${process.env.OPEN_WEATHER_API_KEY}&lang=ru&units=metric`
    );
  }
}
module.exports = Weather;
