Swiftpack.co - Package - jrtibbetts/JSONClient

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

jrtibbetts/JSONClient

A simple iOS client that posts and gets JSON data from a REST API using authenticated or unauthenticated requests

JSONClient

Build Status Swift 4.0 Carthage compatible CodeCov Codebeat License

A simple iOS client that GETs unauthenticated or authenticated (OAuth) JSON data from and POSTs authenticated data to a REST service.

Although it's easy enough to use URLSessions for unauthenticated calls and authenticated ones using a tool like OAuthSwift, this JSONClient simplifies those operations and serves as the base class of the clients in my SwiftDiscogs, SwiftMusicbrainz, and SwiftGenius clients.

See the Example page for usage instructions.

Github

link
Stars: 0
Last commit: 2 days ago