This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
from google.oauth2.service_account import Credentials | |
from googleapiclient.discovery import build | |
from datetime import datetime | |
class APIToSheetsWriter: | |
def __init__(self, credentials_file, spreadsheet_id): | |
""" | |
Initialize the Google Sheets API client |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
weewdf | |
edfdf | |
asdfds |