var endpoint = require("@runkit/runkit/json-endpoint/1.0.0");
var request = require("request"); // peer dependency
endpoint(module.exports, async function (request) {
const result = [
{
date: "2023-01-01",
value: 5,
},
{
date: "2023-01-11",
value: 5,
},
{
date: "2023-01-20",
value: 5,
},
{
date: "2023-01-23",
value: 6,
},
{
date: "2023-01-26",
value: 5,
},
{
date: "2023-01-28",
value: 6,
},
{
date: "2023-01-31",
value: 6,
},
{
date: "2023-02-02",
value: 5,
},
{
date: "2023-02-04",
value: 7,
},
{
date: "2023-02-09",
value: 6,
},
{
date: "2023-02-11",
value: 3,
},
{
date: "2023-02-15",
value: 3,
},
{
date: "2023-02-18",
value: 7,
},
{
date: "2023-02-22",
value: 6,
},
{
date: "2023-02-25",
value: 7,
},
{
date: "2023-03-04",
value: 6,
},
{
date: "2023-03-06",
value: 6,
},
{
date: "2023-03-09",
value: 8,
},
{
date: "2023-03-11",
value: 7,
},
{
date: "2023-03-14",
value: 6.5,
},
{
date: "2023-03-18",
value: 5,
},
{
date: "2023-03-21",
value: 8.7,
},
{
date: "2023-03-25",
value: 6.5,
},
{
date: "2023-03-28",
value: 5,
},
{
date: "2023-03-30",
value: 6,
},
{
date: "2023-04-01",
value: 5,
},
{
date: "2023-04-04",
value: 7,
},
{
date: "2023-04-07",
value: 10,
},
{
date: "2023-04-10",
value: 6.5,
},
{
date: "2023-04-13",
value: 5,
},
{
date: "2023-04-16",
value: 8,
},
{
date: "2023-04-19",
value: 5,
},
{
date: "2023-04-25",
value: 10,
},
{
date: "2023-04-27",
value: 5,
},
{
date: "2023-05-02",
value: 12,
},
{
date: "2023-05-06",
value: 6,
},
{
date: "2023-05-09",
value: 4,
},
{
date: "2023-05-22",
value: 8,
},
{
date: "2023-05-31",
value: 10,
},
{
date: "2023-06-03",
value: 12,
},
{
date: "2023-06-06",
value: 8,
},
{
date: "2023-06-10",
value: 12,
},
{
date: "2023-06-15",
value: 9.5,
},
{
date: "2023-06-24",
value: 10,
},
{
date: "2023-07-02",
value: 11.5,
},
{
date: "2023-08-01",
value: 5,
},
{
date: "2023-08-04",
value: 5,
},
{
date: "2023-08-09",
value: 5,
},
{
date: "2023-08-12",
value: 4.5,
},
{
date: "2023-08-15",
value: 5,
},
{
date: "2023-08-29",
value: 5.1,
},
{
date: "2023-09-03",
value: 4,
},
{
date: "2023-11-18",
value: 1.5,
},
{
date: "2023-11-25",
value: 2,
},
{
date: "2023-11-29",
value: 3,
},
{
date: "2023-12-02",
value: 3,
},
{
date: "2024-01-25",
value: 3,
},
{
date: "2024-02-01",
value: 2,
},
{
date: "2024-02-03",
value: 1.7,
},
{
date: "2024-02-07",
value: 2.5,
},
{
date: "2024-02-10",
value: 2.5,
},
{
date: "2024-02-13",
value: 3.1,
},
{
date: "2024-02-15",
value: 2.9,
},
{
date: "2024-02-17",
value: 3.6,
},
{
date: "2024-02-21",
value: 3.6,
},
{
date: "2024-02-24",
value: 3.7,
},
{
date: "2024-02-28",
value: 3.7,
},
{
date: "2024-03-02",
value: 3.8,
},
{
date: "2024-03-06",
value: 4.2,
},
{
date: "2024-03-12",
value: 5.2,
},
{
date: "2024-03-19",
value: 3.3,
},
{
date: "2024-03-23",
value: 4.2,
},
{
date: "2024-03-25",
value: 4,
},
{
date: "2024-03-28",
value: 3.4,
},
{
date: "2024-03-30",
value: 5.5,
},
{
date: "2024-04-02",
value: 5.9,
},
{
date: "2024-04-08",
value: 3.16,
},
{
date: "2024-06-17",
value: 1.52,
},
{
date: "2024-06-24",
value: 2.52,
},
{
date: "2024-06-29",
value: 3.48,
},
{
date: "2024-07-02",
value: 2.77,
},
{
date: "2024-07-04",
value: 3.68,
},
{
date: "2024-07-09",
value: 3.5,
},
{
date: "2024-07-12",
value: 4.14,
},
{
date: "2024-07-17",
value: 4,
},
{
date: "2024-08-01",
value: 5,
},
{
date: "2024-08-09",
value: 5,
},
{
date: "2024-08-17",
value: 5,
},
];
return { result };
});