Created
October 19, 2019 20:23
-
-
Save deeayeen/c29cd080ec1981c74998cf6dcc1eff8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const vimeoVideos = yield fetch('https://api.vimeo.com/me/videos', { | |
method: 'GET', | |
headers: { | |
Authorization: 'bearer ${ACCESS_TOKEN}', | |
}, | |
}) | |
.then(response => response.json()) | |
.then(data => data); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment