diff options
Diffstat (limited to 'coinfetch')
-rwxr-xr-x | coinfetch | 49 |
1 files changed, 36 insertions, 13 deletions
@@ -1,19 +1,40 @@ #! /usr/bin/env python3 ## ## coinfetch - Cryptocurrency price fetcher -## Copyright (C) 2015-2016 Delwink, LLC +## Copyright (C) 2015-2017 Delwink, LLC ## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU Affero General Public License as published by -## the Free Software Foundation, version 3 only. +## Redistributions, modified or unmodified, in whole or in part, must retain +## applicable copyright or other legal privilege notices, these conditions, and +## the following license terms and disclaimer. Subject to these conditions, +## the holder(s) of copyright or other legal privileges, author(s) or +## assembler(s), and contributors of this work hereby grant to any person who +## obtains a copy of this work in any form: ## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU Affero General Public License for more details. +## 1. Permission to reproduce, modify, distribute, publish, sell, sublicense, +## use, and/or otherwise deal in the licensed material without restriction. ## -## You should have received a copy of the GNU Affero General Public License -## along with this program. If not, see <http://www.gnu.org/licenses/>. +## 2. A perpetual, worldwide, non-exclusive, royalty-free, irrevocable patent +## license to reproduce, modify, distribute, publish, sell, use, and/or +## otherwise deal in the licensed material without restriction, for any and all +## patents: +## +## a. Held by each such holder of copyright or other legal privilege, +## author or assembler, or contributor, necessarily infringed by the +## contributions alone or by combination with the work, of that privilege +## holder, author or assembler, or contributor. +## +## b. Necessarily infringed by the work at the time that holder of +## copyright or other privilege, author or assembler, or contributor made +## any contribution to the work. +## +## NO WARRANTY OF ANY KIND IS IMPLIED BY, OR SHOULD BE INFERRED FROM, THIS +## LICENSE OR THE ACT OF DISTRIBUTION UNDER THE TERMS OF THIS LICENSE, +## INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR +## A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, +## ASSEMBLERS, OR HOLDERS OF COPYRIGHT OR OTHER LEGAL PRIVILEGE BE LIABLE FOR +## ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER IN ACTION OF CONTRACT, TORT, +## OR OTHERWISE ARISING FROM, OUT OF, OR IN CONNECTION WITH THE WORK OR THE USE +## OF OR OTHER DEALINGS IN THE WORK. ## from argparse import Action, ArgumentParser @@ -27,8 +48,10 @@ from os import makedirs __title__ = 'coinfetch' __author__ = 'David McMackins II' __version_info__ = '''{} {} -Copyright (C) 2015-2016 Delwink, LLC -License AGPLv3: GNU AGPL version 3 only <http://gnu.org/licenses/agpl.html>. +Copyright (C) 2015-2017 Delwink, LLC +License COIL: Copyfree Open Innovation License 0.5 +<http://coil.apotheon.org/plaintext/00.5.txt> + This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. @@ -43,7 +66,7 @@ if not exists(CONFIG_PATH): makedirs(CONFIG_DIR) config['coinfetch'] = {} - config['coinfetch']['api'] = 'btce' + config['coinfetch']['api'] = 'cb' with open(CONFIG_PATH, 'w') as f: config.write(f) else: |