Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fourspublic

    Fours

    Minimalist streaming API client for Fouresquare.

    Heavily ripping off inspired by https://github.com/diy/diy-client written by Andrew Sliwinski.

    Installation

    npm install fours

    Basic Use

    var fours = require('fours')(
            'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx', // client_id
            'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'  // client_secret shhhh
        );
     
    var request = fours({
        method: 'GET',
        uri:    '/venues/search?near=San%20Francisco,CA'
    }).pipe(process.stdout);
     
    request.on('error', function (err) {
        // Oh noes! 
    });
     

    Keywords

    none

    install

    npm i fours

    Downloadsweekly downloads

    4

    version

    0.0.1

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar