Skip to content

Instantly share code, notes, and snippets.

@acious
Last active April 29, 2023 00:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acious/0d2e1434329d90574cbf872d24d4eeed to your computer and use it in GitHub Desktop.
Save acious/0d2e1434329d90574cbf872d24d4eeed to your computer and use it in GitHub Desktop.
200OK.json
{
"responseData" : {
"screenName":"Home",
"viewContents" : [
{
"viewType" : "oneDayWeatherViewType",
"content" : {
"primaryTitle" : "April 3 (Mon) 14",
"centerImgUrl" : "https://res.swm.com/2x/clear-sky.png",
"primaryContentText" : "Clear Sky",
"secondaryContentTexts" : [
{"text" : "Current 24ºC"},
{"text" : "Highest 24ºC"},
{"text" : "Lowest 21ºC"},
{"text" : "Humidity 14%"}
]
}
},
{
"viewType" : "carouselViewType",
"content" : {
"items": [
{
"primaryText" : "06:00",
"centerImgUrl" : "https://res.swm.com/2x/clear-sky.png",
"secondaryText": "24ºC"
},
{
"primaryText" : "09:00",
"centerImgUrl" : "https://res.swm.com/2x/cloudy.png",
"secondaryText": "23ºC"
},
{
"primaryText" : "12:00",
"centerImgUrl" : "https://res.swm.com/2x/very-cloudy.png",
"secondaryText": "20ºC"
},
{
"primaryText" : "15:00",
"centerImgUrl" : "https://res.swm.com/2x/very-cloudy.png",
"secondaryText": "17ºC"
}
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment