Using different libraries in swift might be tricky, but here we combined a complete example for you SwiftyJSON SwiftyUserDefaults Alamofire How to request and parse request

1- create a model

2- create a model init

3- create a parse model method

4- call and parse the json

5- you might use these packages inside the Swifty User Default

6-more examples