X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2F__init__.py;h=b58fa34a2b85ce62739e081cc3bd0c8b72cf3444;hb=1c01e4a7aa37eeef825c6918fc90b154a7f4ccc7;hp=f78f6343e7bd53c0f18cdfba0f1b165e9da84c1c;hpb=69d10d0f55740591a43f4f49e90e09785ab0675f;p=mpd-sima.git diff --git a/sima/__init__.py b/sima/__init__.py index f78f634..b58fa34 100644 --- a/sima/__init__.py +++ b/sima/__init__.py @@ -1,4 +1,17 @@ # -*- coding: utf-8 -*- +"""WebServices API credentials and ressources +""" +from datetime import timedelta + +LFM = {'apikey': 'NG4xcDlxcXJwMjk4MTZycTgwM3E3b3I5MTEzb240cG8', + 'host':'ws.audioscrobbler.com', + 'version': '2.0',} + +ECH = {'apikey': 'WlRKQkhTS0JHWFVDUEZZRFA', + 'host': 'developer.echonest.com', + 'version': 'v4',} + +WAIT_BETWEEN_REQUESTS = timedelta(days=0, seconds=2) +SOCKET_TIMEOUT = 6 -# VIM MODLINE # vim: ai ts=4 sw=4 sts=4 expandtab