Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
Guy293 authored Jan 4, 2023
1 parent 7223a60 commit cf25aa4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ pip install Tami4EdgeAPI

You first need to obtain a ``refresh_token`` by requesting an sms code to the phone you registered to the app with.
```py
import Tami4EdgeAPI
from Tami4EdgeAPI import Tami4EdgeAPI

# You must add the country code!
phone_number = "+972xxxxxxxxx"

Tami4EdgeAPI.request_otp()
Tami4EdgeAPI.request_otp(phone_number)
otp_code = input("Enter OTP: ")
refresh_token = Tami4EdgeAPI.submit_otp(otp_code)
```
Expand Down

0 comments on commit cf25aa4

Please sign in to comment.