UNPKG

nuddles

Version:

Node.js wrapper for the Foursquare API

17 lines (11 loc) 289 B
const utils = require('../utils') class Photo { constructor(client, photoId=undefined) { this.client = client this.photoId = photoId } getDetails(photoId=this.photoId) { return this.client.GET(`/photos/${photoId}`) } } module.exports = Photo