Skip to content
Dead simple node.js API for Google Sets
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README.md
example.js
googlesets.js
package.json

README.md

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);
});
Something went wrong with that request. Please try again.