Skip to content

Commit 9e05619

Browse files
committed
oops
1 parent 7b24e92 commit 9e05619

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Usage
1313
=====
1414
.. code-block:: python
1515
16-
import scale
17-
client = scale.ScaleClient('YOUR_API_KEY_HERE')
16+
import scaleapi
17+
client = scaleapi.ScaleClient('YOUR_API_KEY_HERE')
1818
1919
Tasks
2020
=====
@@ -167,13 +167,13 @@ Error handling
167167
==============
168168

169169
If something went wrong while making API calls, then exceptions will be raised automatically
170-
as a ``scale.ScaleException`` or ``scale.ScaleInvalidRequest`` runtime error. For example:
170+
as a ``scaleapi.ScaleException`` or ``scaleapi.ScaleInvalidRequest`` runtime error. For example:
171171

172172
.. code-block:: python
173173
174174
try
175-
scale.create_categorization_task('Some parameters are missing.')
176-
except scale.ValidationError as e:
175+
scaleapi.create_categorization_task('Some parameters are missing.')
176+
except scaleapi.ValidationError as e:
177177
print(e.code) # 400
178178
print(e.message) # missing param X
179179

0 commit comments

Comments
 (0)