UNPKG
nuddles
Version:
latest (2.0.1)
2.0.1
2.0.0
1.3.2
1.3.1
1.3.0
1.2.1
1.2.0
1.1.0
1.0.1
1.0.0
Node.js wrapper for the Foursquare API
github.com/Zabanaa/nuddles
Zabanaa/nuddles
nuddles
/
lib
/
photo.js
17 lines
(11 loc)
•
289 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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