X-Git-Url: https://git.kaliko.me/?a=blobdiff_plain;f=sima%2F__init__.py;h=267899c15336671ad4ce7285c3294d9042d4d147;hb=d62b8c3db5a87accb40a49d0347255bfe467911b;hp=bd387be9e61a1cb4dfa968f1d760a159e809a759;hpb=1cc879f39941fc302f9a841a532c9f749797cca4;p=mpd-sima.git diff --git a/sima/__init__.py b/sima/__init__.py index bd387be..267899c 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(0, 2) +SOCKET_TIMEOUT = 6 +# vim: ai ts=4 sw=4 sts=4 expandtab