Closed IK-O closed 1 month ago
@IK-O get_available_locationsでwoeid(地域のID)を取得して、client.get_place_trendsでトレンドを取得することができます。 例えばこんな感じです
locations = await client.get_available_locations()
trend = await client.get_place_trends(locations[0].id)
回答ありがとうございます。 WOEID = 23424977 でUSが取得できました。
👍
I live in Japan and I access to X from Japan but I want to get trend in US.
This code clearly uses "client = Client('en-US')". However the got trends are trends in Japan. How can I get trends in US?