Started development of diaspy/settings.py
[diaspy.git] / diaspy / settings.py
CommitLineData
fb680551
MM
1import json
2import re
3import urllib
4
5
6"""This module provides access to user's settings on Diaspora*.
7"""
8
9
10class Settings():
11 """This object is used to get access to user's settings on
12 Diaspora* and provides interface for downloading user's stuff.
13 """
14 def __init__(self, connection):
15 self._connection = connection
16
17 def downloadxml(self):
18 request = self._connection.get('user/export')
19 return request.text
20