1.0.4 • Published 6 years ago

nadeshiko v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

nadeshiko

Cache layer for Google Sheet

Build Status codecov

usage

make sheet

make metadata sheet. metadata-references and metadata-constraints

reference table is ...

s_tables_ranges_sheet
testdata-fooA1:Espreadsheet-id
testdata-barA1:Bspreadsheet-id

constraint table is...

typefirst tablefirst attributesecond tablesecond attribute
fktestdata-barparent_idtestdata-fooid

make data sheet. referenced by reference table. sample sheet is ... (sheet name = testdata-foo)

i_idf_rates_nameb_is_defaultd_deleted_at
11.5testdbTRUE
22.5barFALSE
34.125spamFALSE1995. 9. 7 오전 10:40:52

supported type

  • integer: prefix i_. default value is 0
  • float: prefix f_. default value is 0.0
  • string: prefix s_. default value is ''
  • boolean: prefix b_. default value is false
  • date: prefix d_. default value is null

service account key

  1. make service account key from google api console
  2. get client_email from service account key
  3. add read permission to client_email