vtdiscourse package¶
Submodules¶
vtdiscourse.vtdiscourse module¶
-
class
vtdiscourse.vtdiscourse.
Discourse
(host, api_username, api_key, *args, **kwargs)[source]¶ Bases:
pydiscourse.client.DiscourseClient
Get the Discourse content
Search a session from Discourse Create a new session for Discourse host, username, key should exist then yield error
-
client
¶ This is the activate to get certification from discourse web :url : Discourse web :username: Discourse user :key : Discourse api key
-
get_all_categories
¶
-
get_category_topic_content
(id, key)[source]¶ Get the key’s content in the topics :id : int, index of the topics range :key: string
-
-
class
vtdiscourse.vtdiscourse.
Parser
(name, githubfile, *args, **kwargs)[source]¶ Bases:
vtdiscourse.vtdiscourse.Create
Parser the markdown file, and follow format create a .json file :name :githubfile
-
get_content
¶
-
get_gitbook
¶
-
get_gitbook_url
¶
-
get_name
¶
-
get_summary
¶
-
get_topics_content
¶ create json base return Orderdict() format
-
get_url
¶
-
githubfile
¶
-