metagenedb.py 285 Bytes
Newer Older
1
from .baseapi import BaseAPI
2
3


4
class MetageneDBAPI(BaseAPI):
5
6
7
    BASE_URL = 'http://localhost/'

    def __init__(self, base_url=BASE_URL):
8
9
        self.base_url = base_url
        super().__init__()
10
11


12
class MetageneDBCatalogGeneAPI(MetageneDBAPI):
13
    ROUTE = 'api/catalog/v1/genes/'