Skip to content

Commit

Permalink
Add usage component to README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Joel Lee committed Jan 30, 2021
1 parent b73f7ef commit 8a8d3eb
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@ Here's how you'd install the library with gotrue


### Usage
`import gotrue`
```
import gotrue
client = gotrue.Client("www.google.com")
client.sign_up({"email": "anemail@gmail.com", "password": "gmebbnok"})
```


### Development
Expand Down
6 changes: 5 additions & 1 deletion gotrue/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
__version__ = '0.1.0'
__version__ = '0.1.0'

from .admin import Admin
from .client import Client
from .user import User
3 changes: 2 additions & 1 deletion gotrue/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ def __init__(api, tokenRepsonse, audience):

@staticmethod
def removeSavedSession():
pass
# isBrowser()

@staticmethod
Expand All @@ -22,7 +23,7 @@ def update(attributes):

def jwt(forceRefresh):
pass

def logout():
pass

Expand Down

0 comments on commit 8a8d3eb

Please sign in to comment.