Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 19.10 KB | None | 0 0
  1. Request:
  2. Post -> http://10.20.1.137:3001/forecast
  3. Body:
  4. {
  5.     "city": "Manchester",
  6.     "key": "123456"
  7. }
  8.  
  9. Response:
  10. {
  11.     "observed_at": "Tue Jul 17 2018 14:00:17 GMT+0300 (Eastern European Summer Time)",
  12.     "city": "Manchester",
  13.     "country_code": "US",
  14.     "lng": -71.4548,
  15.     "lat": 42.9956,
  16.     "conditions": [
  17.         {
  18.             "id": 33585,
  19.             "report_id": 6,
  20.             "weather": "Clouds",
  21.             "weather_description": "scattered clouds",
  22.             "cloudiness": 36,
  23.             "humidity": 75,
  24.             "max_temperature": 30.04,
  25.             "min_temperature": 29.01,
  26.             "sea_pressure": 1022.31,
  27.             "ground_pressure": 1003.1,
  28.             "wind_direction": 197.001,
  29.             "wind_speed": 2.26,
  30.             "date": "2018-07-17 15:00:00"
  31.         },
  32.         {
  33.             "id": 33591,
  34.             "report_id": 6,
  35.             "weather": "Rain",
  36.             "weather_description": "light rain",
  37.             "cloudiness": 44,
  38.             "humidity": 100,
  39.             "max_temperature": 25.89,
  40.             "min_temperature": 25.21,
  41.             "sea_pressure": 1020.12,
  42.             "ground_pressure": 1001.36,
  43.             "wind_direction": 208.5,
  44.             "wind_speed": 2.56,
  45.             "date": "2018-07-17 18:00:00"
  46.         },
  47.         {
  48.             "id": 33596,
  49.             "report_id": 6,
  50.             "weather": "Rain",
  51.             "weather_description": "moderate rain",
  52.             "cloudiness": 76,
  53.             "humidity": 99,
  54.             "max_temperature": 24.59,
  55.             "min_temperature": 24.25,
  56.             "sea_pressure": 1018.79,
  57.             "ground_pressure": 999.7,
  58.             "wind_direction": 220.001,
  59.             "wind_speed": 2.11,
  60.             "date": "2018-07-17 21:00:00"
  61.         },
  62.         {
  63.             "id": 33578,
  64.             "report_id": 6,
  65.             "weather": "Rain",
  66.             "weather_description": "heavy intensity rain",
  67.             "cloudiness": 76,
  68.             "humidity": 97,
  69.             "max_temperature": 20.23,
  70.             "min_temperature": 20.23,
  71.             "sea_pressure": 1020.85,
  72.             "ground_pressure": 1001.64,
  73.             "wind_direction": 287.503,
  74.             "wind_speed": 2.21,
  75.             "date": "2018-07-18 00:00:00"
  76.         },
  77.         {
  78.             "id": 33579,
  79.             "report_id": 6,
  80.             "weather": "Clear",
  81.             "weather_description": "clear sky",
  82.             "cloudiness": 20,
  83.             "humidity": 94,
  84.             "max_temperature": 19.66,
  85.             "min_temperature": 19.66,
  86.             "sea_pressure": 1022.1,
  87.             "ground_pressure": 1002.85,
  88.             "wind_direction": 277.501,
  89.             "wind_speed": 1.87,
  90.             "date": "2018-07-18 03:00:00"
  91.         },
  92.         {
  93.             "id": 33580,
  94.             "report_id": 6,
  95.             "weather": "Clouds",
  96.             "weather_description": "overcast clouds",
  97.             "cloudiness": 88,
  98.             "humidity": 93,
  99.             "max_temperature": 18.86,
  100.             "min_temperature": 18.86,
  101.             "sea_pressure": 1022.23,
  102.             "ground_pressure": 1002.92,
  103.             "wind_direction": 288.501,
  104.             "wind_speed": 1.32,
  105.             "date": "2018-07-18 06:00:00"
  106.         },
  107.         {
  108.             "id": 33581,
  109.             "report_id": 6,
  110.             "weather": "Clouds",
  111.             "weather_description": "broken clouds",
  112.             "cloudiness": 76,
  113.             "humidity": 90,
  114.             "max_temperature": 18.11,
  115.             "min_temperature": 18.11,
  116.             "sea_pressure": 1022.7,
  117.             "ground_pressure": 1003.28,
  118.             "wind_direction": 320.001,
  119.             "wind_speed": 2.06,
  120.             "date": "2018-07-18 09:00:00"
  121.         },
  122.         {
  123.             "id": 33582,
  124.             "report_id": 6,
  125.             "weather": "Clear",
  126.             "weather_description": "clear sky",
  127.             "cloudiness": 0,
  128.             "humidity": 85,
  129.             "max_temperature": 19.87,
  130.             "min_temperature": 19.87,
  131.             "sea_pressure": 1023.66,
  132.             "ground_pressure": 1004.29,
  133.             "wind_direction": 325.502,
  134.             "wind_speed": 2.42,
  135.             "date": "2018-07-18 12:00:00"
  136.         },
  137.         {
  138.             "id": 33583,
  139.             "report_id": 6,
  140.             "weather": "Clear",
  141.             "weather_description": "clear sky",
  142.             "cloudiness": 0,
  143.             "humidity": 69,
  144.             "max_temperature": 23.68,
  145.             "min_temperature": 23.68,
  146.             "sea_pressure": 1024.03,
  147.             "ground_pressure": 1004.69,
  148.             "wind_direction": 334.512,
  149.             "wind_speed": 2.37,
  150.             "date": "2018-07-18 15:00:00"
  151.         },
  152.         {
  153.             "id": 33584,
  154.             "report_id": 6,
  155.             "weather": "Clear",
  156.             "weather_description": "clear sky",
  157.             "cloudiness": 0,
  158.             "humidity": 59,
  159.             "max_temperature": 24.59,
  160.             "min_temperature": 24.59,
  161.             "sea_pressure": 1024.21,
  162.             "ground_pressure": 1004.84,
  163.             "wind_direction": 328.502,
  164.             "wind_speed": 2.91,
  165.             "date": "2018-07-18 18:00:00"
  166.         },
  167.         {
  168.             "id": 33616,
  169.             "report_id": 6,
  170.             "weather": "Clear",
  171.             "weather_description": "clear sky",
  172.             "cloudiness": 0,
  173.             "humidity": 57,
  174.             "max_temperature": 23.54,
  175.             "min_temperature": 23.54,
  176.             "sea_pressure": 1024.9,
  177.             "ground_pressure": 1005.54,
  178.             "wind_direction": 325.501,
  179.             "wind_speed": 3.06,
  180.             "date": "2018-07-18 21:00:00"
  181.         },
  182.         {
  183.             "id": 33586,
  184.             "report_id": 6,
  185.             "weather": "Clear",
  186.             "weather_description": "clear sky",
  187.             "cloudiness": 0,
  188.             "humidity": 61,
  189.             "max_temperature": 20,
  190.             "min_temperature": 20,
  191.             "sea_pressure": 1026.8,
  192.             "ground_pressure": 1007.43,
  193.             "wind_direction": 326.002,
  194.             "wind_speed": 2.64,
  195.             "date": "2018-07-19 00:00:00"
  196.         },
  197.         {
  198.             "id": 33587,
  199.             "report_id": 6,
  200.             "weather": "Clear",
  201.             "weather_description": "clear sky",
  202.             "cloudiness": 0,
  203.             "humidity": 68,
  204.             "max_temperature": 16.85,
  205.             "min_temperature": 16.85,
  206.             "sea_pressure": 1029.23,
  207.             "ground_pressure": 1009.71,
  208.             "wind_direction": 331.002,
  209.             "wind_speed": 2.32,
  210.             "date": "2018-07-19 03:00:00"
  211.         },
  212.         {
  213.             "id": 33588,
  214.             "report_id": 6,
  215.             "weather": "Clear",
  216.             "weather_description": "clear sky",
  217.             "cloudiness": 0,
  218.             "humidity": 71,
  219.             "max_temperature": 14.76,
  220.             "min_temperature": 14.76,
  221.             "sea_pressure": 1030.44,
  222.             "ground_pressure": 1010.84,
  223.             "wind_direction": 328.002,
  224.             "wind_speed": 1.86,
  225.             "date": "2018-07-19 06:00:00"
  226.         },
  227.         {
  228.             "id": 33589,
  229.             "report_id": 6,
  230.             "weather": "Clear",
  231.             "weather_description": "clear sky",
  232.             "cloudiness": 0,
  233.             "humidity": 82,
  234.             "max_temperature": 12.5,
  235.             "min_temperature": 12.5,
  236.             "sea_pressure": 1031.45,
  237.             "ground_pressure": 1011.87,
  238.             "wind_direction": 315.501,
  239.             "wind_speed": 1.11,
  240.             "date": "2018-07-19 09:00:00"
  241.         },
  242.         {
  243.             "id": 33590,
  244.             "report_id": 6,
  245.             "weather": "Clear",
  246.             "weather_description": "clear sky",
  247.             "cloudiness": 0,
  248.             "humidity": 61,
  249.             "max_temperature": 18.1,
  250.             "min_temperature": 18.1,
  251.             "sea_pressure": 1032.76,
  252.             "ground_pressure": 1013.1,
  253.             "wind_direction": 324,
  254.             "wind_speed": 1.42,
  255.             "date": "2018-07-19 12:00:00"
  256.         },
  257.         {
  258.             "id": 33614,
  259.             "report_id": 6,
  260.             "weather": "Clear",
  261.             "weather_description": "clear sky",
  262.             "cloudiness": 0,
  263.             "humidity": 47,
  264.             "max_temperature": 22.87,
  265.             "min_temperature": 22.87,
  266.             "sea_pressure": 1033.27,
  267.             "ground_pressure": 1013.75,
  268.             "wind_direction": 20.5041,
  269.             "wind_speed": 1.46,
  270.             "date": "2018-07-19 15:00:00"
  271.         },
  272.         {
  273.             "id": 33592,
  274.             "report_id": 6,
  275.             "weather": "Clear",
  276.             "weather_description": "clear sky",
  277.             "cloudiness": 0,
  278.             "humidity": 42,
  279.             "max_temperature": 25.2,
  280.             "min_temperature": 25.2,
  281.             "sea_pressure": 1032.65,
  282.             "ground_pressure": 1013.12,
  283.             "wind_direction": 356.005,
  284.             "wind_speed": 1.41,
  285.             "date": "2018-07-19 18:00:00"
  286.         },
  287.         {
  288.             "id": 33593,
  289.             "report_id": 6,
  290.             "weather": "Clear",
  291.             "weather_description": "clear sky",
  292.             "cloudiness": 0,
  293.             "humidity": 40,
  294.             "max_temperature": 25.73,
  295.             "min_temperature": 25.73,
  296.             "sea_pressure": 1032.29,
  297.             "ground_pressure": 1012.81,
  298.             "wind_direction": 314.001,
  299.             "wind_speed": 1.57,
  300.             "date": "2018-07-19 21:00:00"
  301.         },
  302.         {
  303.             "id": 33594,
  304.             "report_id": 6,
  305.             "weather": "Clear",
  306.             "weather_description": "clear sky",
  307.             "cloudiness": 0,
  308.             "humidity": 60,
  309.             "max_temperature": 21.95,
  310.             "min_temperature": 21.95,
  311.             "sea_pressure": 1033.16,
  312.             "ground_pressure": 1013.54,
  313.             "wind_direction": 203,
  314.             "wind_speed": 0.62,
  315.             "date": "2018-07-20 00:00:00"
  316.         },
  317.         {
  318.             "id": 33595,
  319.             "report_id": 6,
  320.             "weather": "Clear",
  321.             "weather_description": "clear sky",
  322.             "cloudiness": 0,
  323.             "humidity": 63,
  324.             "max_temperature": 16.99,
  325.             "min_temperature": 16.99,
  326.             "sea_pressure": 1034.39,
  327.             "ground_pressure": 1014.78,
  328.             "wind_direction": 161,
  329.             "wind_speed": 1.83,
  330.             "date": "2018-07-20 03:00:00"
  331.         },
  332.         {
  333.             "id": 33608,
  334.             "report_id": 6,
  335.             "weather": "Clear",
  336.             "weather_description": "clear sky",
  337.             "cloudiness": 0,
  338.             "humidity": 79,
  339.             "max_temperature": 14.11,
  340.             "min_temperature": 14.11,
  341.             "sea_pressure": 1034.92,
  342.             "ground_pressure": 1015.34,
  343.             "wind_direction": 184.001,
  344.             "wind_speed": 1.07,
  345.             "date": "2018-07-20 06:00:00"
  346.         },
  347.         {
  348.             "id": 33597,
  349.             "report_id": 6,
  350.             "weather": "Clear",
  351.             "weather_description": "clear sky",
  352.             "cloudiness": 0,
  353.             "humidity": 87,
  354.             "max_temperature": 12.39,
  355.             "min_temperature": 12.39,
  356.             "sea_pressure": 1035.28,
  357.             "ground_pressure": 1015.65,
  358.             "wind_direction": 188.504,
  359.             "wind_speed": 0.96,
  360.             "date": "2018-07-20 09:00:00"
  361.         },
  362.         {
  363.             "id": 33598,
  364.             "report_id": 6,
  365.             "weather": "Clear",
  366.             "weather_description": "clear sky",
  367.             "cloudiness": 0,
  368.             "humidity": 63,
  369.             "max_temperature": 19.27,
  370.             "min_temperature": 19.27,
  371.             "sea_pressure": 1036.25,
  372.             "ground_pressure": 1016.54,
  373.             "wind_direction": 191.5,
  374.             "wind_speed": 1.42,
  375.             "date": "2018-07-20 12:00:00"
  376.         },
  377.         {
  378.             "id": 33599,
  379.             "report_id": 6,
  380.             "weather": "Clear",
  381.             "weather_description": "clear sky",
  382.             "cloudiness": 0,
  383.             "humidity": 48,
  384.             "max_temperature": 25.71,
  385.             "min_temperature": 25.71,
  386.             "sea_pressure": 1036.01,
  387.             "ground_pressure": 1016.58,
  388.             "wind_direction": 173.501,
  389.             "wind_speed": 1.41,
  390.             "date": "2018-07-20 15:00:00"
  391.         },
  392.         {
  393.             "id": 33600,
  394.             "report_id": 6,
  395.             "weather": "Clear",
  396.             "weather_description": "clear sky",
  397.             "cloudiness": 0,
  398.             "humidity": 40,
  399.             "max_temperature": 27.76,
  400.             "min_temperature": 27.76,
  401.             "sea_pressure": 1035.07,
  402.             "ground_pressure": 1015.56,
  403.             "wind_direction": 172.502,
  404.             "wind_speed": 1.41,
  405.             "date": "2018-07-20 18:00:00"
  406.         },
  407.         {
  408.             "id": 33601,
  409.             "report_id": 6,
  410.             "weather": "Clear",
  411.             "weather_description": "clear sky",
  412.             "cloudiness": 0,
  413.             "humidity": 39,
  414.             "max_temperature": 27.84,
  415.             "min_temperature": 27.84,
  416.             "sea_pressure": 1034.3,
  417.             "ground_pressure": 1014.85,
  418.             "wind_direction": 175.501,
  419.             "wind_speed": 1.56,
  420.             "date": "2018-07-20 21:00:00"
  421.         },
  422.         {
  423.             "id": 33602,
  424.             "report_id": 6,
  425.             "weather": "Clear",
  426.             "weather_description": "clear sky",
  427.             "cloudiness": 0,
  428.             "humidity": 46,
  429.             "max_temperature": 23.58,
  430.             "min_temperature": 23.58,
  431.             "sea_pressure": 1034.13,
  432.             "ground_pressure": 1014.6,
  433.             "wind_direction": 139.002,
  434.             "wind_speed": 2.32,
  435.             "date": "2018-07-21 00:00:00"
  436.         },
  437.         {
  438.             "id": 33603,
  439.             "report_id": 6,
  440.             "weather": "Clear",
  441.             "weather_description": "clear sky",
  442.             "cloudiness": 0,
  443.             "humidity": 50,
  444.             "max_temperature": 19.11,
  445.             "min_temperature": 19.11,
  446.             "sea_pressure": 1035.16,
  447.             "ground_pressure": 1015.6,
  448.             "wind_direction": 146.502,
  449.             "wind_speed": 2.21,
  450.             "date": "2018-07-21 03:00:00"
  451.         },
  452.         {
  453.             "id": 33604,
  454.             "report_id": 6,
  455.             "weather": "Clear",
  456.             "weather_description": "clear sky",
  457.             "cloudiness": 0,
  458.             "humidity": 71,
  459.             "max_temperature": 15.79,
  460.             "min_temperature": 15.79,
  461.             "sea_pressure": 1034.83,
  462.             "ground_pressure": 1015.29,
  463.             "wind_direction": 160.501,
  464.             "wind_speed": 1.12,
  465.             "date": "2018-07-21 06:00:00"
  466.         },
  467.         {
  468.             "id": 33605,
  469.             "report_id": 6,
  470.             "weather": "Clear",
  471.             "weather_description": "clear sky",
  472.             "cloudiness": 0,
  473.             "humidity": 87,
  474.             "max_temperature": 13.74,
  475.             "min_temperature": 13.74,
  476.             "sea_pressure": 1034.65,
  477.             "ground_pressure": 1015.01,
  478.             "wind_direction": 129.501,
  479.             "wind_speed": 0.92,
  480.             "date": "2018-07-21 09:00:00"
  481.         },
  482.         {
  483.             "id": 33606,
  484.             "report_id": 6,
  485.             "weather": "Clear",
  486.             "weather_description": "clear sky",
  487.             "cloudiness": 0,
  488.             "humidity": 69,
  489.             "max_temperature": 18.93,
  490.             "min_temperature": 18.93,
  491.             "sea_pressure": 1034.46,
  492.             "ground_pressure": 1014.87,
  493.             "wind_direction": 123,
  494.             "wind_speed": 1.41,
  495.             "date": "2018-07-21 12:00:00"
  496.         },
  497.         {
  498.             "id": 33607,
  499.             "report_id": 6,
  500.             "weather": "Clouds",
  501.             "weather_description": "few clouds",
  502.             "cloudiness": 20,
  503.             "humidity": 56,
  504.             "max_temperature": 24.66,
  505.             "min_temperature": 24.66,
  506.             "sea_pressure": 1033.33,
  507.             "ground_pressure": 1013.91,
  508.             "wind_direction": 131.5,
  509.             "wind_speed": 1.67,
  510.             "date": "2018-07-21 15:00:00"
  511.         },
  512.         {
  513.             "id": 33615,
  514.             "report_id": 6,
  515.             "weather": "Clouds",
  516.             "weather_description": "few clouds",
  517.             "cloudiness": 24,
  518.             "humidity": 42,
  519.             "max_temperature": 26.13,
  520.             "min_temperature": 26.13,
  521.             "sea_pressure": 1032.61,
  522.             "ground_pressure": 1013.15,
  523.             "wind_direction": 141.503,
  524.             "wind_speed": 2.82,
  525.             "date": "2018-07-21 18:00:00"
  526.         },
  527.         {
  528.             "id": 33609,
  529.             "report_id": 6,
  530.             "weather": "Clear",
  531.             "weather_description": "clear sky",
  532.             "cloudiness": 0,
  533.             "humidity": 40,
  534.             "max_temperature": 24.84,
  535.             "min_temperature": 24.84,
  536.             "sea_pressure": 1031.74,
  537.             "ground_pressure": 1012.34,
  538.             "wind_direction": 135.004,
  539.             "wind_speed": 2.97,
  540.             "date": "2018-07-21 21:00:00"
  541.         },
  542.         {
  543.             "id": 33610,
  544.             "report_id": 6,
  545.             "weather": "Clouds",
  546.             "weather_description": "scattered clouds",
  547.             "cloudiness": 32,
  548.             "humidity": 50,
  549.             "max_temperature": 20.62,
  550.             "min_temperature": 20.62,
  551.             "sea_pressure": 1031.76,
  552.             "ground_pressure": 1012.25,
  553.             "wind_direction": 121.001,
  554.             "wind_speed": 2.51,
  555.             "date": "2018-07-22 00:00:00"
  556.         },
  557.         {
  558.             "id": 33611,
  559.             "report_id": 6,
  560.             "weather": "Clouds",
  561.             "weather_description": "scattered clouds",
  562.             "cloudiness": 44,
  563.             "humidity": 69,
  564.             "max_temperature": 17.25,
  565.             "min_temperature": 17.25,
  566.             "sea_pressure": 1031.94,
  567.             "ground_pressure": 1012.33,
  568.             "wind_direction": 121.5,
  569.             "wind_speed": 1.86,
  570.             "date": "2018-07-22 03:00:00"
  571.         },
  572.         {
  573.             "id": 33612,
  574.             "report_id": 6,
  575.             "weather": "Clouds",
  576.             "weather_description": "broken clouds",
  577.             "cloudiness": 68,
  578.             "humidity": 92,
  579.             "max_temperature": 15.28,
  580.             "min_temperature": 15.28,
  581.             "sea_pressure": 1031.64,
  582.             "ground_pressure": 1012.11,
  583.             "wind_direction": 126.503,
  584.             "wind_speed": 1.13,
  585.             "date": "2018-07-22 06:00:00"
  586.         },
  587.         {
  588.             "id": 33613,
  589.             "report_id": 6,
  590.             "weather": "Clouds",
  591.             "weather_description": "broken clouds",
  592.             "cloudiness": 64,
  593.             "humidity": 96,
  594.             "max_temperature": 15.32,
  595.             "min_temperature": 15.32,
  596.             "sea_pressure": 1030.56,
  597.             "ground_pressure": 1010.99,
  598.             "wind_direction": 74.5002,
  599.             "wind_speed": 1.17,
  600.             "date": "2018-07-22 09:00:00"
  601.         }
  602.     ]
  603. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement