Added note in README.md about original imports

This commit is contained in:
Samuel Roach 2022-06-01 18:43:16 +01:00
parent 4ffbd89505
commit 0653ea5712

View File

@ -30,6 +30,11 @@ Note: Whilst the package is called ``ergast-py``, you need to import ``ergast_py
import ergast_py import ergast_py
e = ergast_py.Ergast() e = ergast_py.Ergast()
# For v0.1.0 and prior
from ergast_py import ergast.Ergast
e = Ergast()
``` ```
Queries can then be built up with function calls in a sequential manner. Once you've built up a query, finally define what data you wish to get using a ``get_xyz()`` function. Queries can then be built up with function calls in a sequential manner. Once you've built up a query, finally define what data you wish to get using a ``get_xyz()`` function.