import requests


class Base(object):
    def __init__(self, endpoint):
        self.endpoint = endpoint

    def get(self, url):
        response = requests.get(url=(self.endpoint + url))
        response.raise_for_status()
        return response.json()

1ae6ddfabbf26fca7669cc53f3716034e084fa47
<mask token>


class Base(object):
    <mask token>
    <mask token>

<mask token>


class Base(object):

    def __init__(self, endpoint):
        self.endpoint = endpoint
    <mask token>

<mask token>


class Base(object):

    def __init__(self, endpoint):
        self.endpoint = endpoint

    def get(self, url):
        response = requests.get(url=self.endpoint + url)
        response.raise_for_status()
        return response.json()

import requests


class Base(object):

    def __init__(self, endpoint):
        self.endpoint = endpoint

    def get(self, url):
        response = requests.get(url=self.endpoint + url)
        response.raise_for_status()
        return response.json()

import requests


class Base(object):
    def __init__(self, endpoint):
        self.endpoint = endpoint

    def get(self, url):
        response = requests.get(url=(self.endpoint + url))
        response.raise_for_status()
        return response.json()
