package com.example.bem; import retrofit2.Call; import retrofit2.http.GET; import retrofit2.http.Query; public interface WeatherService { @GET("v1/forecast?current_weather=true") Call getCurrentWeather( @Query("latitude") double latitude, @Query("longitude") double longitude); }