X-Git-Url: http://git.kaliko.me/?a=blobdiff_plain;f=sima%2F__init__.py;h=8d12a6f226385ee3bd8e4d249788eac694762c3b;hb=604fff9480725be074699b0360121484b1875eaa;hp=bd387be9e61a1cb4dfa968f1d760a159e809a759;hpb=1cc879f39941fc302f9a841a532c9f749797cca4;p=mpd-sima.git diff --git a/sima/__init__.py b/sima/__init__.py index bd387be..8d12a6f 100644 --- a/sima/__init__.py +++ b/sima/__init__.py @@ -1,6 +1,19 @@ # -*- 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