Skip to content

Instantly share code, notes, and snippets.

View heyitsnate's full-sized avatar

Nathan Moore heyitsnate

  • Dynamics Functional Consultant
  • United Kingdom
View GitHub Profile
@heyitsnate
heyitsnate / finished.js
Created January 1, 2022 21:29 — forked from adrianhajdin/finished.js
Amazon Scraper API
const express = require('express');
const request = require('request-promise');
const PORT = process.env.PORT || 5000;
const app = express();
app.use(express.json());
const returnScraperApiUrl = (apiKey) => `http://api.scraperapi.com?api_key=${apiKey}&autoparse=true`;
@heyitsnate
heyitsnate / pickRandomComment.js
Created June 28, 2018 12:21 — forked from learncodeacademy/pickRandomComment.js
YouTube Random Comment Selector
const axios = require("axios");
const key = "AIzaSyB9e-dHIvdxxrbmorjYHWipwBKq7LJBhNk"
function getComments(pageToken, allItems = {}) {
const params = {
key,
videoId: "a4haLJdDRmc",
part: "snippet",
maxResults: 100,
pageToken,