标签: javascript github fetch pull-request
我正在尝试获取Javascript中的拉取请求,以便当有人提出新的拉取请求时,它会运行一个代码段。我的代码如下:
let pullRequests = (async() => {eval(await (await fetch('https://github.com/divinelemon/Connect4/pulls')))})() console.log(pullRequests)
如何实时获取请求请求? 谢谢!