{"repo":"freshOS/Networking","free":true,"listed":false,"github":"https://github.com/freshOS/Networking","clone":"git clone https://github.com/freshOS/Networking.git","description":"⚡️ Concise networking code leveraging async-await, Decodable & Generics.","language":"Swift","stars":882,"topics":["networking","http","swift","json","combine","ios","httpclient","rest","api","rest-api"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Networking Networking brings together URLSession , async - await (or Combine ), Decodable and Generics to simplify connecting to a JSON api. Demo time 🍿 Networking turns this: into: Video tutorial Alex from Rebeloper made a fantastic video tutorial, check it out here! How By providing a lightweight client that automates boilerplate code everyone has to write . By exposing a delightfully simple api to get the job done simply, clearly, quickly. Getting swift models from a JSON api is now a problem of the past URLSession + Combine + Generics + Protocols = Networking. What - [x] Build a concise Api - [x] Automatically map your models - [x] Uses latest Apple's Combine / asyn-await - [x] Compatible with native Decodable and any JSON Parser - [x] Embarks a built-in network logger - [x] Pure Swift, simple, lightweight & 0 dependencies Getting Started Install it Create a Client Make your first call Get the type you want back Pass params Upload multipart data Add Headers Add Timeout Cancel a request Log Network calls Handling errors Support JSON-to-Model parsing Design a clean api Install it Networking is installed via the official Swift Package Manager. Select Xcode File Swift Packages Add Package Dependency... and add https://github.com/freshOS/Networking . Create a Client Make your first call Use get , post , put , patch & delete methods on the client to make calls. All the apis are also available in Combine: Get the type you want back Networking recognizes the type you want back v","default_branch":null,"files":null,"tree":[],"storefront":"/r/freshOS","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/freshOS/Networking/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}