Objects¶
-
class
scpython.model.Article(data)[source]¶ Represents any article on Wikidot.
- Attributes
id
int— The article ID.rating
int— The article’s rating.url
str— The article’s URL.tags
str[]— The article’s tags.poster
str— The user who first posted the article.page_version
int— The number of changes the page went through.last_change
datetime— The day the page was last changed.
-
class
scpython.model.ScpArticle(data)[source]¶ Represents an SCP Article on Wikidot.
- Attributes
page_source
str— The SCP’s text.number
str— The SCP’s number. Also works for Joke SCPs.branch
Branch— The SCP’s original branch.language
Language— The fetched SCP’s language.is_joke
boolean— Whether the SCP has a -J flag.full_code
str— The SCP’s full code ("SCP-XXXX-LANG-J").