Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

swarmapp-api

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swarmapp-api

A javascript wrapper for swarmapp (foursquare) API

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4
decreased by-55.56%
Maintainers
1
Weekly downloads
 
Created
Source

Swarmapp-api

A JavaScript wrapper for SwarmApp (foursquare) API

Installation

Only offered through NPM $ npm install --save swarmapp-api

Usage

To be revised

Initialize

const swarmappapi = require('swarmapp-api');
const swarm = new swarmappapi({ api_key: <your-api-key> });

Call a function

function exampleGetFriends() {
    try {
        return api.getFriends();
    }
    catch (error) {
        console.error('error: ' + error); 
    }
}

Dependencies

  1. Lodash: for prefilling API call parameters
  2. Axios: to make the actual API calls
  3. querystring: to prepare url query parameters

Contributions

  1. Fork
  2. Edit
  3. Push

Keywords

FAQs

Package last updated on 14 Apr 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc