Home Page API - uoftblueprint/sistema GitHub Wiki
Helpful pages:
- JS types: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures (JS is not strongly typed but let's be certain of what values are expected and retrieved)
BLANK FORMAT BELOW
HomePage
GetFeaturedActivityCards()
Returns an array of file paths for the themed activity cards featured this month. Finds the activity cards in the Sistema Curriculum Materials folder and downloads them if they’re not cached.
Using, in order:
GoogleDriveAPI:
- files.list
- files.get
React Native File System API: 3. moveFile 4. unlink
Signature
GetFeaturedActivityCards(): []
Returns
- Returns an array of filepath Strings.