2017-04-15 14:53:08 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
2017-04-12 16:42:04 +02:00
|
|
|
from collections import namedtuple
|
|
|
|
|
2019-08-01 13:25:45 +02:00
|
|
|
__version__ = '0.22.0'
|
2018-01-15 12:19:37 +01:00
|
|
|
|
2017-04-18 16:16:24 +02:00
|
|
|
App = namedtuple('App', ['instance', 'base_url', 'client_id', 'client_secret'])
|
|
|
|
User = namedtuple('User', ['instance', 'username', 'access_token'])
|
2017-04-12 16:42:04 +02:00
|
|
|
|
|
|
|
DEFAULT_INSTANCE = 'mastodon.social'
|
|
|
|
|
2017-04-19 14:47:30 +02:00
|
|
|
CLIENT_NAME = 'toot - a Mastodon CLI client'
|
2017-04-16 14:14:33 +02:00
|
|
|
CLIENT_WEBSITE = 'https://github.com/ihabunek/toot'
|