Эх сурвалжийг харах

Update readme and bump version

JoostSijm 4 жил өмнө
parent
commit
63205f95f7
2 өөрчлөгдсөн 4 нэмэгдсэн , 3 устгасан
  1. 3 2
      README.md
  2. 1 1
      setup.py

+ 3 - 2
README.md

@@ -36,12 +36,13 @@ For now there is limited documentation how to use the wrapper classes.
 Read the files [here](https://github.com/joostsijm/rival_regions_wrapper/tree/dev/src/rival_regions_wrapper/wrapper) to see how they work.
 
 ## Examples
-Create LocalAuthentication middleware and log in with using environ variables.
+Create LocalAuthentication middleware and log in using environ variables.
 ```python
 import os
 from rival_regions_wrapper.middleware import LocalAuthentication
 
-authentication = LocalAuthentication(
+authentication = LocalAuthentication()
+authentication.set_credentials(
   os.environ["USERNAME"],
   os.environ["PASSWORD"],
   os.environ["LOGIN_METHOD"]

+ 1 - 1
setup.py

@@ -7,7 +7,7 @@ with open("README.md", "r") as fh:
 
 setuptools.setup(
     name="rival_regions_wrapper",
-    version="1.2.6",
+    version="1.3.0",
     author="Joost Sijm",
     author_email="joostsijm@gmail.com",
     description="Rival Regions API wrapper",