Guest User

Untitled

a guest
May 27th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.14 KB | None | 0 0
  1. {
  2. "items": [{
  3. "tags": ["health"],
  4. "answers": [{
  5. "owner": {
  6. "reputation": 1413,
  7. "user_id": 1848,
  8. "user_type": "registered",
  9. "profile_image": "https://i.stack.imgur.com/JbShD.jpg?s=128&g=1",
  10. "display_name": "MT San",
  11. "link": "http://coffee.stackexchange.com/users/1848/mt-san"
  12. }
  13.  
  14.  
  15. // etc...
  16.  
  17. Alamofire.request(.GET, "https://api.stackexchange.com/2.2/questions?order=desc&sort=creation&site=coffee&filter=!3yXvh452l.xgxAx7H")
  18. .responseJSON { response in
  19.  
  20. if let JSON = response.result.value {
  21. print(JSON) // returns icky stuff
  22. }
  23. }
  24.  
  25. {
  26. "has_more" = 1;
  27. items = (
  28. {
  29. "answer_count" = 2;
  30. answers = (
  31. {
  32. "answer_id" = 2858;
  33. body = "<p>Coffee is generally dissolved in water. Thus, I think water is the main limiting factor here. However, a media coverage mentions a story that somebody <strong>died</strong> in 1998 by swallowing 90 pills which contains equal amount of caffeine in <strong>250 cups of coffee</strong>.</p>nn<p>The source and more links are <a href="https://www.erowid.org/chemicals/caffeine/references/media/1998_missouri_1.shtml" rel="nofollow">here</a>.</p>n";
  34. "creation_date" = 1464345790;
  35. "is_accepted" = 0;
  36. "last_activity_date" = 1464345790;
  37. owner = {
  38. "display_name" = "MT San";
  39. link = "http://coffee.stackexchange.com/users/1848/mt-san";
  40. "profile_image" = "https://i.stack.imgur.com/JbShD.jpg?s=128&g=1";
  41. reputation = 1413;
  42. "user_id" = 1848;
  43. "user_type" = registered;
  44. };
  45. "question_id" = 2857;
  46. score = 1;
  47. }
Add Comment
Please, Sign In to add comment