UNPKG

@flowdegree/swarmapp-api

Version:

A javascript wrapper for swarmapp (foursquare) API

62 lines (59 loc) 1.38 kB
type swarmConfig = { radius?: number; near?: string | undefined; broadcast?: string; venueId?: string; oauth_token?: string; m?: string; v: string; ll: string; altAcc: string; llAcc: string; alt?: string; user_id?: string; limit?: number; afterTimeStamp?: string; floorLevel?: string; }; declare class SwarmappApi { config: swarmConfig; basePath: string; headers: any; user: any; flowId?: string; initialize: any; getFriends: any; getFollowings: any; getFollowers: any; getUser: any; addFriendByID: any; getLastSeen: any; getGeos: any; getUserProfile: any; checkIn: any; getRecent: any; getCheckins: any; likeCheckin: any; completemultifactorlogin: any; initiatemultifactorlogin: any; getTrending: any; getVenue: any; log: any; error: any; getLL: any; login: any; register_device: any; private_log: any; constructor(); constructor(oauth_token: string); addHereNow(checkin: any, females_only?: boolean): Promise<{ hereNow: any; friendships: any[]; }>; autoAddTrending(location_name: string, limit_trending: number): Promise<any[]>; likeUnliked(limit?: number): Promise<{ succeeded: any[]; failed: any[]; }>; } export { SwarmappApi as default };