Open jhernancanom opened 8 years ago
Hi,
You can find an example program of using lua-basic-google-drive at https://github.com/vincasmiliunas/lua-basic-google-drive/blob/master/lua-basic-google-drive/example.lua
Of course, first you need to take the client id/secret credentials from Google API Console to a JSON file creds.json in the format of {"client_id": "", "client_secret": ""} Then you need to acquire a OAuth token using the program from https://github.com/vincasmiliunas/lua-basic-oauth2/blob/master/lua-basic-oauth2/example.lua
For the scripts to import the libraries using require you may need to extend the LUA_PATH environment variable. For example: LUA_PATH="$(lua -e 'io.write(package.path)');$PROJECT/lib-lua/?.lua" lua example.lua
Hope this helps.
Thanks, friend. I'll verify this info. By.
2016-09-04 23:11 GMT-05:00 Vincas Miliūnas:
Hi,
You can find an example program of using lua-basic-google-drive at https://github.com/vincasmiliunas/lua-basic-google-drive/blob/master/lua- basic-google-drive/example.lua
Of course, first you need to take the client id/secret credentials from Google API Console to a JSON file creds.json in the format of {"client_id": "", "client_secret": ""} Then you need to acquire a OAuth token using the program from https://github.com/vincasmiliunas/lua-basic-oauth2/blob/master/lua-basic- oauth2/example.lua
For the scripts to import the libraries using require you may need to extend the LUA_PATH environment variable. For example: LUA_PATH="$(lua -e 'io.write(package.path)');$PROJECT/lib-lua/?.lua" lua example.lua
Hope this helps.
—
Hello, friend. I am interested in using this utility.
Can you say me how can I tr it?
Thanks.
HERNAN CANO M Systems Analyst - Programmer