Fix module and class name in api/README
(imported from commit c5157d52479ef0e1f26c471df79ffb9c5ea7f51e)
This commit is contained in:
parent
b7c1e02ede
commit
dd90c73f33
4
README
4
README
|
@ -24,8 +24,8 @@ A typical simple bot sending API messages will look as follows:
|
||||||
At the top of the file:
|
At the top of the file:
|
||||||
|
|
||||||
# Make sure the Humbug API distribution's root directory is in sys.path, then:
|
# Make sure the Humbug API distribution's root directory is in sys.path, then:
|
||||||
import api.common
|
import humbug
|
||||||
humbug_client = api.common.HumbugAPI(email="your_email@example.com")
|
humbug_client = humbug.Client(email="your_email@example.com")
|
||||||
|
|
||||||
When you want to send a message:
|
When you want to send a message:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue