Добрый вечер всем. Я новичок в API в целом, и мне нужна помощь с Yelp Fusion API. Я думаю, что есть какая-то ошибка с моей переменной/заголовком авторизации. Я запускаю запрос и получаю ошибку 404. Может кто-нибудь внести ясность?
Вы можете найти более подробную информацию об API Yelp по этой ссылке: https://www.yelp.com/developers/documentation/v3/business_search
import requests
url = 'https://api.yelp.com/v3/businesses/search/';
header = {'Authorization':'Bearer MYLONGTOKENx'}
response = requests.get(url, headers = header)
print(response.status_code)