Comments (1)
Hi, the intended usage is with Google Service account. The main difference is that some registry logic is used to request and cache an authorization token. In your case, you should already have the valid token with the required permissions, which you should have been able to pass directly.
So if you don't have any other elixir library to achieve this goal, you can fork and modify functions like this:
https://github.com/Voronchuk/elixir_google_spreadsheets/blob/master/lib/elixir_google_spreadsheets/spreadsheet.ex#L560
Replace %{"Authorization" => "Bearer #{GSS.Registry.token()}"}
with %{"Authorization" => "Bearer #{Keyword.fetch!(options, :auth_token)}"}
Or modify GSS.Registry.token()
to return token scoped to specific user.
from elixir_google_spreadsheets.
Related Issues (20)
- Timeout HOT 23
- Separate API layer from Server
- Split GSS.Registry into authorization and process management layers
- Max rows HOT 2
- Question - Check if a specific sheet exists and fallback to a default one HOT 3
- Should error tuples return exception atoms or structs?
- Tests aren't consistently passing HOT 5
- Conflicting httpoison versions HOT 4
- Read/Write from different sheets HOT 1
- Append multiple rows at once? HOT 5
- Support to Delete Rows HOT 1
- ** (File.Error) could not read file "./google/service_account.json": no such file or directory HOT 4
- Not been able to save data into spreadsheet, google API connection problem HOT 1
- dynamically save data to spreadsheet HOT 5
- Question about release version HOT 3
- Avoiding process leakage in web request. HOT 2
- SSL certificate issue HOT 1
- Make the test spreadsheet public to read and copy
- Get_request_params function can't merge config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elixir_google_spreadsheets.