Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

KTamas/googlesets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 

Repository files navigation

googlesets

Dead simple API for Google Sets. Inspired by this ruby library.

Also used to learn a lot about coding async and getting the gist of the node/npm boilerplate stuff. Not to mention learning the ins and outs of JavaScript's slightly odd RegExp handling.

Unfortunately you might run into captchas with too many requests. Not much we can do about that :(

Created by KTamas (email|web) and gazs (email|web).

Installing:

npm install googlesets

Usage:

var googlesets = require("googlesets");

// will work
googlesets.small(['carrots', 'tomatoes', 'cabbages'], function(err, item) {
  if (err) {
    console.log(err.message);
    return;
  }
  console.log(item);
});

// will throw an error and say 'No sets found.'
googlesets.large(["ház","doboz","disznó"], function(err, item) {
  if (err) {
    console.log(err.message);
    return;
  } 
  console.log(item);
});

Releases

No releases published

Packages

No packages published