import telebot,requests
import json
response = requests.get("http://api.worldweatheronline.com/premium/v1/weather.ashx?key=784a62fa7ebe4e4b89a65727211606&q=48.85,2.35&num_of_days=2&tp=3&format=json")
r = response.json()["data"]
#print(r)
f=(r['current_condition'])
c=(f['temp_C'])
bot = telebot.TeleBot('1883463577:AAFKIw7nBzKvQ_0N9iUaL5l92ehX5gZmH5E')
@bot.message_handler(commands=['pogoda'])
def start_command(message):
print(f)
bot.send_message(message.chat.id,f)
bot.polling()
#"https://api.openweathermap.org/data/2.5/weather?q=kakhovka&appid=275a679565366751879b0bddec1367fc&units=metric