]> kaliko git repositories - mpd-sima.git/blobdiff - sima/__init__.py
Code convention clean up (pylint)
[mpd-sima.git] / sima / __init__.py
index bd387be9e61a1cb4dfa968f1d760a159e809a759..b58fa34a2b85ce62739e081cc3bd0c8b72cf3444 100644 (file)
@@ -1,6 +1,17 @@
 # -*- coding: utf-8 -*-
+"""WebServices API credentials and ressources
+"""
+from datetime import timedelta
 
+LFM = {'apikey': 'NG4xcDlxcXJwMjk4MTZycTgwM3E3b3I5MTEzb240cG8',
+       'host':'ws.audioscrobbler.com',
+       'version': '2.0',}
 
-# VIM MODLINE
-# vim: ai ts=4 sw=4 sts=4 expandtab
+ECH = {'apikey': 'WlRKQkhTS0JHWFVDUEZZRFA',
+       'host': 'developer.echonest.com',
+       'version': 'v4',}
+
+WAIT_BETWEEN_REQUESTS = timedelta(days=0, seconds=2)
+SOCKET_TIMEOUT = 6
 
+# vim: ai ts=4 sw=4 sts=4 expandtab