API Reference
Routes
Traveler Diary

TravelerDiary API Reference

NameTypeDescription
cacheClientCache<DiaryData>The cache for the traveler diary data
fetch(uid: string, options?: BaseFetchOptions): Promise<DiaryData>functionFetches the traveler diary data for the given uid.
fetchMonth(uid: string, options: MonthDiaryOptions): Promise<DiaryData>functionFetches the traveler diary data for the given uid and month.

MonthDiaryOptions

Extend the BaseFetchOptions interface.

OptionTypeDescription
monthnumberThe month to fetch the diary data for.