1.1.5 • Published 11 months ago

mgssportsday-api v1.1.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

gsheets-getter-functions

Functions to load data from the MGS Sports Day spreadsheet

This repository is not intended for public use. It is a set of internal bindings used by MGS Sports Day v1.5.

List of functions

All but the helper functions use async/await, and depend on Underscore.js and Axios (see package.json).

All functions are documented with jsDoc in src/index.ts, and are implemented as methods of the GSheetsAPI class.

Returned data is sorted in spreadsheet order.

These functions need updating year-on-year, as the spreadsheet cell references are likely to change.

This library is managed with yarn, not npm.

Helper functions needed by others

  • sdBuildQuery
  • sdParseRes
  • intToSpreadsheetColLetter

Functions to be run once on app load, and response stored

  • getEventsList
  • getFormsList
  • getBonusPointsAllocations

Functions to be run more than once (i.e. to refresh data or when user requests specific event)

  • getSummaryStandings
  • getEventResults
  • getYearGroupRecords
  • getRecordsSummaryStats
  • getFormResults

Licensing

These functions are Copyright (c) 2017-22 Pal Kerecsenyi, Theodore Tucker and Geza Kerecsenyi, and are licensed under the MIT License (see LICENSE.md).

1.1.5

11 months ago

1.1.4

11 months ago

1.1.1

2 years ago

1.0.2

2 years ago

1.1.0

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago