Datasets:
Fix authentication in README
Browse files
README.md
CHANGED
|
@@ -58,14 +58,14 @@ https://enterprise.wikimedia.com/docs/#getting-started
|
|
| 58 |
auth = r.json()
|
| 59 |
```
|
| 60 |
|
| 61 |
-
4. Now you can use your access token (`auth["
|
| 62 |
|
| 63 |
```python
|
| 64 |
storage_options={
|
| 65 |
"https": {
|
| 66 |
"client_kwargs": {
|
| 67 |
"headers": {
|
| 68 |
-
"Authorization": f"Bearer {auth['
|
| 69 |
}
|
| 70 |
}
|
| 71 |
}
|
|
|
|
| 58 |
auth = r.json()
|
| 59 |
```
|
| 60 |
|
| 61 |
+
4. Now you can use your access token (`auth["access_token"]`) to authenticate:
|
| 62 |
|
| 63 |
```python
|
| 64 |
storage_options={
|
| 65 |
"https": {
|
| 66 |
"client_kwargs": {
|
| 67 |
"headers": {
|
| 68 |
+
"Authorization": f"Bearer {auth['access_token']}"
|
| 69 |
}
|
| 70 |
}
|
| 71 |
}
|