Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
googledocs2json
Advanced tools
Readme
$ npm install -g googledocs2json
Authorization is done using OAuth2, please get your client/secret key at https://console.developers.google.com,
Select your project -> Credentials -> Create Credentials -> OAuth client ID. Download the JSON-file and rename it to config.creds.json
Save this file to the folder you want to generate the files in.
{
"installed":
{
"client_id":"your_client_id",
"project_id":"your_projectId",
"auth_uri":"https://accounts.google.com/o/oauth2/auth",
"token_uri":"https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url":"https://www.googleapis.com/oauth2/v1/certs",
"client_secret":"your_secret_key",
"redirect_uris":["urn:ietf:wg:oauth:2.0:oob","http://localhost"]
},
"spreadsheet_key" : "your spreadsheet key"
}
Create this file in the folder you want to generate the files in.
{
"range": "Sheet1!A1:C"
}
Stores your token after authentication
Key | en.json | sv.json |
---|---|---|
Car expenses | Cost for passenger cars | Personbilskostnader |
Computers, advertisement and PR | Advertising and PR | Reklam och PR |
Building costs | Property Cost | Fastighetskostnader |
Freight and transport | Freight and transport | Frakter och transporter |
Supplies and inventory | Consumable equipment and supplies | Förbrukningsmaterial och Förbrukningsinventarier |
$ g2j
Two files were created. en.json and sv.json
{
"Car expenses":"Cost for passenger cars",
"Computers, advertisement and PR":"Advertising and PR",
"Building costs":"Property Cost",
"Freight and transport":"Freight and transport",
"Supplies and inventory":"Consumable equipment and supplies"
}
FAQs
covert googledocs columns/rows to key/value json and save to file
The npm package googledocs2json receives a total of 5 weekly downloads. As such, googledocs2json popularity was classified as not popular.
We found that googledocs2json demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.