Novelty Polygonal Mathematics

    react-native-foursquare-api

    0.0.4 • Public • Published

    react-native-foursquare-api

    react-native wrapper for foursquare api using fetch

    This is currently a wrapper on the foursquare v2 API (https://api.foursquare.com/v2).

    Example

    var foursquare = require('react-native-foursquare-api')({
      clientID: 'YOUR_CLIENTID',
      clientSecret: 'YOUR_CLIENTSECRET',
      style: 'foursquare', // default: 'foursquare'
      version: '20140806' //  default: '20140806'
    });
     
    // see respective api documentation for list of params you could pass
    var params = {
        "ll": "10.652814,-61.3969835",
      "query": 'Movie Towne'
    };
     
    foursquare.venues.getVenues(params)
          .then(function(venues) {
         console.log(venues);
         })
          .catch(function(err){
            console.log(err);
          });

    Features

    Venues (/venues)

    API Documentation: Venues API

    Implemented Methods: see wrapper

    Notes

    • Pull requests are welcome
    • Only venues feature (mostly) built out so far

    Useful Link

    License: MIT

    Install

    npm i react-native-foursquare-api

    DownloadsWeekly Downloads

    8

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • lwhiteley