ResoCoder / forecast-mvvm-android-kotlin

Forecast MVVM app as found in the free course.
https://www.youtube.com/playlist?list=PLB6lc7nQ1n4jTLDyU2muTBo8xk0dg0D_w
339 stars 163 forks source link

API endpont is deprecated. #21

Open takagisou opened 4 years ago

takagisou commented 4 years ago

https://api.apixu.com/v1/forecast.json

{
  "0": "#################################################################################################################################",
  "1": "#                                                                                                                               #",
  "2": "# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT                                                                                   #",
  "3": "#                                                                                                                               #",
  "4": "# This API endpoint is deprecated and has now been shut down. To keep using the apixu API, please update your integration       #",
  "5": "# to use the new weatherstack API endpoint, designed as a simple drop-in replacement.                                           #",
  "6": "# You will be required to create an account at https://weatherstack.com and obtain an API access key.                           #",
  "7": "#                                                                                                                               #",
  "8": "# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/apilayer/weatherstack#readme   #",
  "9": "#                                                                                                                               #",
  "a": "#################################################################################################################################"
}
alextomskras commented 4 years ago

https://api.apixu.com/v1/forecast.json

{
  "0": "#################################################################################################################################",
  "1": "#                                                                                                                               #",
  "2": "# IMPORTANT - PLEASE UPDATE YOUR API ENDPOINT                                                                                   #",
  "3": "#                                                                                                                               #",
  "4": "# This API endpoint is deprecated and has now been shut down. To keep using the apixu API, please update your integration       #",
  "5": "# to use the new weatherstack API endpoint, designed as a simple drop-in replacement.                                           #",
  "6": "# You will be required to create an account at https://weatherstack.com and obtain an API access key.                           #",
  "7": "#                                                                                                                               #",
  "8": "# For more information on how to upgrade please visit our Github Tutorial at: https://github.com/apilayer/weatherstack#readme   #",
  "9": "#                                                                                                                               #",
  "a": "#################################################################################################################################"
}

Maybe try to translate into? "https://api.openweathermap.org/data/2.5/weather?q"