Skip to content

Commit b2d82ae

Browse files
update example
1 parent 4cb821b commit b2d82ae

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,3 +163,4 @@ cython_debug/
163163
# and can be added to the global gitignore or merged into this file. For a more nuclear
164164
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
165165
#.idea/
166+
.vscode/settings.json

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Here's a simple example of how to use the client:
4040

4141
```python
4242
import asyncio
43-
from src.xclient import XTimelineClient
43+
from xclient import XTimelineClient
4444

4545
async with XTimelineClient(
4646
"curl.txt", persist_last_id_path="state/last_id.txt"
@@ -54,7 +54,7 @@ You can also stream new tweets in real-time:
5454

5555
```python
5656
import asyncio
57-
from src.xclient import XTimelineClient
57+
from xclient import XTimelineClient
5858
async with XTimelineClient(
5959
"curl.txt", persist_last_id_path="state/last_id.txt"
6060
) as xc:

0 commit comments

Comments
 (0)