<gh_stars>10-100
import gspread


class Gsheet:
    """Google spreadsheet document class"""

    key = '<KEY>'  # development
    gc = None

    def __init__(self, key=key):
        self.key = key
        self.gc = gspread.service_account()

    def get_wb(self):
        return self.gc.open_by_key(self.key)

import gspread


class Gsheet:
    """Google spreadsheet document class"""

    key = '<KEY>'  # development
    gc = None

    def __init__(self, key=key):
        self.key = key
        self.gc = gspread.service_account()

    def get_wb(self):
        return self.gc.open_by_key(self.key)
Google spreadsheet document class # development