https://github.com/mglagola/parse-alamofire-router
Generated (but slightly tweaked) Parse Alamofire Router
https://github.com/mglagola/parse-alamofire-router
Last synced: 6 days ago
JSON representation
Generated (but slightly tweaked) Parse Alamofire Router
- Host: GitHub
- URL: https://github.com/mglagola/parse-alamofire-router
- Owner: mglagola
- Created: 2016-01-03T18:08:15.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-01-03T18:18:32.000Z (almost 10 years ago)
- Last Synced: 2024-10-05T16:41:37.479Z (about 1 year ago)
- Language: Swift
- Size: 237 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Parse [Alamofire Router](https://github.com/Alamofire/Alamofire#crud--authorization)
This code was generated using an internal module (open sourcing soon). The generated code was slightly tweaked for persisting parse sessions.Browse the [full code here](https://github.com/mglagola/parse-alamofire-router/blob/master/ParseRouter/ParseRouter.swift)
## Example Usage
```swift
ParseRouter.RestAPIKey = "parse-rest-api-key"
ParseRouter.AppId = "parse-application-id"let userObjectId = "someObjectId"
Alamofire.request(ParseRouter.GetUser(userObjectId))
.responseJSON { response in
if let JSON = response.result.value {
print("JSON: \(JSON)")
}
}
```