Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 65359b2

Browse files
Update questions.py
1 parent b0a97c9 commit 65359b2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

‎AskUbuntu-Scraper/questions.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,17 @@
44

55

66
class AskUbuntu:
7+
"""
8+
Create an instance of `AskUbuntu` class.
79
10+
```python
11+
questions = AskUbuntu("topic")
12+
```
13+
14+
| Methods | Details |
15+
| --------------------------- | ---------------------------------------------------------------------------------------------------- |
16+
| `.getQuestions()` | Returns the questions, views, votes, answer counts, and descriptions in JSON format |
17+
"""
818
def __init__(self, topic):
919
self.topic = topic
1020

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /