diff --git a/.gitignore b/.gitignore index e9e3b8a..96178c6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,4 @@ __pycache__/ venv/ *.sqlite3 -migrations/ -service_account_credentials.json -settings.json \ No newline at end of file +migrations/ \ No newline at end of file diff --git a/Procfile b/Procfile deleted file mode 100644 index 7524d9b..0000000 --- a/Procfile +++ /dev/null @@ -1 +0,0 @@ -web: gunicorn bitbens.wsgi --log-file - diff --git a/README.md b/README.md deleted file mode 100644 index d11363f..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# moneropro - -License: MIT diff --git a/articles/__init__.py b/articles/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/articles/admin.py b/articles/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/articles/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/articles/tests.py b/articles/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/articles/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/charts/admin.py b/charts/admin.py deleted file mode 100644 index 8c38f3f..0000000 --- a/charts/admin.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.contrib import admin - -# Register your models here. diff --git a/charts/tests.py b/charts/tests.py deleted file mode 100644 index 7ce503c..0000000 --- a/charts/tests.py +++ /dev/null @@ -1,3 +0,0 @@ -from django.test import TestCase - -# Create your tests here. diff --git a/license.md b/license.md deleted file mode 100644 index f8bee77..0000000 --- a/license.md +++ /dev/null @@ -1,23 +0,0 @@ -MIT License - -## Released under MIT License - -Copyright (c) 2022 CryptoMorpheus_ (Ben H. G.) - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. diff --git a/service_account_credentials.json b/service_account_credentials.json new file mode 100644 index 0000000..c07bc71 --- /dev/null +++ b/service_account_credentials.json @@ -0,0 +1,12 @@ +{ + "type": "service_account", + "project_id": "pygsheets-348702", + "private_key_id": "facfeac25860837362de96e180bcf9fc703c5b05", + "private_key": "-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDDpnEEwHKcb7EI\n4PoivAb38+wxe2K4Fn7cu9upYYfcmgpHeMwTEUAQkEEtbUB8yZnhKx/EYjeZlj6o\nKiBTnBCu+5pdKvNfbK3M0kmFOP7Z3e8leD/QSFlDgGha7SEgHrd1x/rPCBrokZ79\n0gTJeTpTII1VhzMu+Rmgf3qbBjbel5um+92I4mz7FnHHsETEOQDwE6hTmnTzD0xB\nUaCvf+ppbGtzmDrRaeyrw5MsbBv+H8sUz0qtSbwgV3uEJfjs0xxV2h6KpBkc3ImQ\nbVxF8Ht0UabCPuCgkgw+vRdrwvVqi48lxZxlxf4JbqlS+7jhVnOLTFUuEsMr/mBj\nx7BOV4IDAgMBAAECggEAHaBilNmfgVjYcgO/XOskEv/40DVi6YVeiIZZ6Pg/3oPk\n8pW0MV73WIq/k+VrUnoktxgUo2RMDxHVQxm982s6i4TGBz2txNFsMAvX3jiXPt6A\njCf9YcjS24niQ4KM9ZQxK8CwlhE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5nloLvWh8s88fa\nwyS4nhmtuMQDxYjP/wyx8TnS\n-----END PRIVATE KEY-----\n", + "client_email": "monerocom@pygsheets-348702.iam.gserviceaccount.com", + "client_id": "116121716177547246899", + "auth_uri": "https://accounts.google.com/o/oauth2/auth", + "token_uri": "https://oauth2.googleapis.com/token", + "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", + "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/monerocom%40pygsheets-348702.iam.gserviceaccount.com" +} \ No newline at end of file diff --git a/settings.json b/settings.json new file mode 100644 index 0000000..2bd85b8 --- /dev/null +++ b/settings.json @@ -0,0 +1,15 @@ +{ + "metrics_provider": [ + { + "name": "coinmarketcap", + "price_url": "https://api.coingecko.com/api/v3/coins/monero?tickers=false&market_data=true&community_data=false&developer_data=false&sparkline=false", + "price_url_old": "https://pro-api.coinmarketcap.com/v1/cryptocurrency/quotes/latest?symbol=", + "api_key_name": "X-CMC_PRO_API_KEY", + "api_key_value": "59ddc4bf-b6a4-4e36-b7c2-254c0f854a37", + "api_key_value_old": "787c7281-c873-4dab-8bb3-51c07c00e55f", + "metrics_url": "https://community-api.coinmetrics.io/v4/timeseries/asset-metrics?assets=", + "metrics_url_new": "http://162.210.173.181/coinmetrics/", + "metrics": "&metrics=PriceUSD,PriceBTC,IssContPctAnn,TxCnt,SplyCur,HashRate,FeeTotNtv,RevNtv,BlkSizeMeanByte,DiffLast&frequency=1d&pretty=false" + } + ] +} \ No newline at end of file