---
title: "Discussion on \"How to Type OpenWeather Query Items in a Swift API Client\" | Hashnode"
description: "Discussion on \"How to Type OpenWeather Query Items in a Swift API Client\". In this tutorial we will learn how to replace a stringly typed OpenWeather query dictionary with a small Swift struct. In How to Build a Bare-Bones Async JSON Client in Swift we passed appid, lat, lon"
url: "https://hashnode.com/posts/how-to-type-openweather-query-items-in-a-swift-api-client/6af9f0fe8c6d0b1d7c67351c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Type OpenWeather Query Items in a Swift API Client](https://iliaskarim.dev/how-to-type-openweather-query-items-in-a-swift-api-client?utm_source=hashnode&utm_medium=feed)

In this tutorial we will learn how to replace a stringly typed OpenWeather query dictionary with a small Swift struct. In How to Build a Bare-Bones Async JSON Client in Swift we passed appid, lat, lon

6d ago · 6 min read · iliaskarim.dev  
Read the article

## Written by

[Ilias Karim](https://hashnode.com/@iliaskarim)

@iliaskarim

  
[View profile](https://hashnode.com/@iliaskarim)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
