@@ -0,0 +1,1041 @@
+import requests%0Aimport urllib%0Afrom requests.auth import HTTPBasicAuth%0A%0Aclass entry(object):%0A%09%0A%09def __init__(self, page, auther):%0A%09%09self.user = auther.user%0A%09%09self.key = auther.key%0A%09%09%0A%09%09self.id_number = page%5B%22id%22%5D%0A%09%09self.created_at = page%5B%22created_at%22%5D%0A%09%09self.last_update = page%5B%22updated_at%22%5D%0A%09%09self.title = page%5B%22title%22%5D%0A%09%09self.body = page%5B%22body%22%5D%0A%09%09self.creator_id = page%5B%22creator_id%22%5D%0A%09%09%0A%09%09if page%5B%22is_locked%22%5D == %22false%22:%0A%09%09%09self.is_locked = False%0A%09%09else:%0A%09%09%09self.is_locked = True%0A%09%09%09%0A%09%09self.other_names = page%5B%22other_names%22%5D%0A%09%09self.creator_name = page%5B%22creator_name%22%5D%0A%09%09%0A%09def update_title(self, title):%0A%09%09requests.put((%22http://danbooru.donmai.us/wiki_pages/%22 + str(self.id_number) + %22.json?wiki_page%5Btitle%5D=%22 + str(title) + %22&wiki_page%5Bbody%5D=%22 + self.body)%0A%09%09%09%09%09 auth=HTTPBasicAuth(self.user, self.key))%0A%09%09%0A%09def update_body(self, body):%0A%09%09requests.put((%22http://danbooru.donmai.us/wiki_pages/%22 + str(self.id_number) + %22.json?wiki_page%5Btitle%5D=%22 + self.title + %22&wiki_page%5Bbody%5D=%22 + str(body))%0A%09%09%09%09%09 auth=HTTPBasicAuth(self.user, self.key))%0A

Create wiki.py