Skip to content

Commit bac57cc

Browse files
authored
Update README.md
1 parent 146a1d4 commit bac57cc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ git+git://github.com/GearPlug/pipedrive-python
1212
from pipedrive.client import Client
1313
client = Client()
1414
```
15-
- If on the contrary you will use it, send "oauth=True" in the main instance like this:
15+
- If on the contrary you will use it, send the "client_id", the "client secret" and the paramater "oauth=True" in the main instance like this:
1616
```
1717
from pipedrive.client import Client
1818
client = Client('CLIENT_ID', 'CLIENT_SECRET', oauth=True)
1919
```
20+
2021
#### Set token
2122
And to make requests send the access token
2223
```
2324
client.set_token(access_token)
2425
```
26+
2527
#### Get authorization url
2628
```
2729
url = client.get_oauth_uri("REDIRECT_URL", "OPTIONAL - state")

0 commit comments

Comments
 (0)