ts-foursquare
Version:
A simple library for Foursquare API
132 lines (131 loc) • 4.42 kB
TypeScript
export declare const payload: {
meta: {
code: number;
requestId: string;
};
response: {
list: {
id: string;
name: string;
description: string;
type: string;
user: {
id: string;
firstName: string;
gender: string;
photo: {
prefix: string;
suffix: string;
};
type: string;
};
editable: boolean;
public: boolean;
collaborative: boolean;
canonicalUrl: string;
createdAt: number;
updatedAt: number;
photo: {
id: string;
createdAt: number;
prefix: string;
suffix: string;
width: number;
height: number;
visibility: string;
};
logView: boolean;
visitedCount: number;
venueCount: number;
categories: {
count: number;
items: {
category: {
id: string;
name: string;
pluralName: string;
shortName: string;
icon: {
prefix: string;
suffix: string;
};
};
count: number;
}[];
};
following: boolean;
followers: {
count: number;
};
collaborators: {
count: number;
items: never[];
};
sort: string;
listItems: {
count: number;
items: {
id: string;
createdAt: number;
tip: {
id: string;
createdAt: number;
text: string;
type: string;
canonicalUrl: string;
logView: boolean;
agreeCount: number;
disagreeCount: number;
todo: {
count: number;
};
saves: {};
user: {};
};
venue: {
id: string;
name: string;
contact: {
phone: string;
formattedPhone: string;
};
location: {
address: string;
crossStreet: string;
lat: number;
lng: number;
labeledLatLngs: {
label: string;
lat: number;
lng: number;
}[];
postalCode: string;
cc: string;
city: string;
state: string;
country: string;
formattedAddress: string[];
};
verified: boolean;
stats: {
checkinsCount: number;
usersCount: number;
tipCount: number;
};
url: string;
rating: number;
ratingColor: string;
ratingSignals: number;
allowMenuUrlEdit: boolean;
beenHere: {
lastCheckinExpiredAt: number;
};
};
index: number;
isNew: boolean;
}[];
};
completedCount: number;
};
};
};