diff --git a/README.md b/README.md
index 75e3438..594e12a 100644
--- a/README.md
+++ b/README.md
@@ -3,8 +3,10 @@
-
-
+
+
+
+
A comprehensive Python wrapper for the Ergast API. Built for easy use and functionality, Ergast-py aims to bring the Ergast API into the Python network as seemlessly as possible.
diff --git a/ergast_py/__init__.py b/ergast_py/__init__.py
index a546ba8..6ed8ffc 100644
--- a/ergast_py/__init__.py
+++ b/ergast_py/__init__.py
@@ -26,28 +26,22 @@ and a better understanding visit http://ergast.com/mrd/
"""
+from ergast_py.ergast import Ergast
from ergast_py.models.average_speed import AverageSpeed
+from ergast_py.models.circuit import Circuit
+from ergast_py.models.constructor import Constructor
from ergast_py.models.constructor_standing import ConstructorStanding
from ergast_py.models.driver import Driver
from ergast_py.models.driver_standing import DriverStanding
from ergast_py.models.fastest_lap import FastestLap
from ergast_py.models.lap import Lap
from ergast_py.models.location import Location
-from ergast_py.models.circuit import Circuit
-from ergast_py.models.constructor import Constructor
from ergast_py.models.pit_stop import PitStop
from ergast_py.models.race import Race
from ergast_py.models.result import Result
-from ergast_py.helpers import Helpers
-from ergast_py.constants.status_type import StatusType
from ergast_py.models.season import Season
from ergast_py.models.standings_list import StandingsList
from ergast_py.models.status import Status
from ergast_py.models.timing import Timing
-from ergast_py.constants.expected import Expected
-from ergast_py.requester import Requester
-from ergast_py.type_constructor import TypeConstructor
-from ergast_py.ergast import Ergast
-
__version__ = '0.1.0'
diff --git a/ergast_py/ergast.py b/ergast_py/ergast.py
index 47af2f2..db313e3 100644
--- a/ergast_py/ergast.py
+++ b/ergast_py/ergast.py
@@ -1,18 +1,19 @@
from __future__ import annotations
+
from typing import Callable
-from ergast_py.models.driver import Driver
+from ergast_py.constants.status_type import StatusType
from ergast_py.models.circuit import Circuit
from ergast_py.models.constructor import Constructor
+from ergast_py.models.driver import Driver
+from ergast_py.models.race import Race
+from ergast_py.models.season import Season
from ergast_py.models.standings_list import StandingsList
from ergast_py.models.status import Status
-from ergast_py.constants.status_type import StatusType
-from ergast_py.models.season import Season
-from ergast_py.models.race import Race
-
from ergast_py.requester import Requester
from ergast_py.type_constructor import TypeConstructor
+
class Ergast():
"""
Class for querying the Ergast API
@@ -342,4 +343,4 @@ class Ergast():
if len(pit_stops) == 1:
return pit_stops[0]
else:
- raise Exception("More than 1 item found")
\ No newline at end of file
+ raise Exception("More than 1 item found")
diff --git a/ergast_py/helpers.py b/ergast_py/helpers.py
index 3f7d784..9bfee38 100644
--- a/ergast_py/helpers.py
+++ b/ergast_py/helpers.py
@@ -1,6 +1,5 @@
import datetime
-from ergast_py.constants.status_type import StatusType
class Helpers:
def construct_datetime_str(self, date: str, time: str) -> datetime.datetime:
diff --git a/ergast_py/requester.py b/ergast_py/requester.py
index bd2ef52..f7b1da9 100644
--- a/ergast_py/requester.py
+++ b/ergast_py/requester.py
@@ -3,8 +3,8 @@ import requests
from uritemplate import URITemplate
-host = 'https://ergast.com/api'
-series = 'f1'
+HOST = 'https://ergast.com/api'
+SERIES = 'f1'
class Requester():
"""
@@ -124,7 +124,7 @@ class Requester():
""" Takes values to run the request and return a dict """
url_tmpl = URITemplate('https://ergast.com/api{/series}{/season}{/round}'
'{/criteria*}{/resource}{/value}.json{?limit,offset}')
- url = url_tmpl.expand(host=host, series=series,
+ url = url_tmpl.expand(host=HOST, series=SERIES,
season=season, round=round,
criteria=criteria, resource=resource,
value=value, limit=limit, offset=offset)