Skip to content

Error while trying to access Chrome Web Store API #2105

Open
@dkaraj

Description

@dkaraj
from google.oauth2.service_account import ServiceAccountCredentials
from googleapiclient.discovery import build

CLIENT_SECRET_FILE = 'client_secret.json'
SCOPES = ['https://www.googleapis.com/auth/chromewebstore']

credentials = ServiceAccountCredentials.from_json_keyfile_name(CLIENT_SECRET_FILE, SCOPES)

webstore_service = build('chromewebstore', 'v1.1', credentials=credentials)

I'm trying to connect to chromewebstore api, but looks like it didnt found it. As well I tried to set directly developerKey, as well to set static_discovery=False but same error.

raise UnknownApiNameOrVersion("name: %s  version: %s" % (serviceName, version))
googleapiclient.errors.UnknownApiNameOrVersion: name: chromewebstore  version: v1.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions