# Discoger
Discoger Bot is a Telegram bot that allows you to be notified when a new sale for a vinyl in your Discogs wantlist is available.
## Usage
1. Search for the Telegram bot "Discoger" or click [this link](https://t.me/Discogers_bot) to open a conversation with the bot.
## How to use it
### Installation
Installation is in three steps, the first is getting credentials from Discogs and Telegram.
You need to create a [Token](https://www.discogs.com/fr/settings/developers).
For Telegram you need contact [@BotFather](https://t.me/botfather) and follow a few simple steps for get your authorization token.
### Configuration
After that you need create config.ini file
```
[DEFAULT]
schedule_time = 30
disable_unofficial = True
log_level = INFO
[discogs]
secret = dbPVkGbCVVffggfgkdfgmlkknzezsbhmscskncno
[telegram]
token = 1766763279:AAFwufBsdfdsfgdfsgfgsfsgdfgsdf
```
### Docker
```
docker container run -v ./:/root/.config/discoger beudbeud/discoger
```
### Upgrade
If you use the old version of discoger you need to update your database.
Example of database for the version 1.1
```
chat_id: 249125421
release_list:
- release_id: '288931'
artist: Aloud
title: Track Lifting
url: https://www.discogs.com/fr/master/288931-Julian-Jay-Savarin-Waiters-On-The-Dance
type: master
last_sell: {}
- release_id: '26741825'
artist: Metallica
title: 72 Seasons
url: https://www.discogs.com/fr/release/26741825-Metallica-72-Seasons
type: release
last_sell: {}
```
Raw data
{
"_id": null,
"home_page": "https://github.com/beudbeud/discoger",
"name": "discoger",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "discogs,telegram,bot",
"author": "Beudbeud",
"author_email": "beudbeud@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/c9/65/bd54ebbde351f6a3e395d7556055bb62491766956ab203ededb11f761a63/discoger-2.1.6.tar.gz",
"platform": null,
"description": "# Discoger\n\nDiscoger Bot is a Telegram bot that allows you to be notified when a new sale for a vinyl in your Discogs wantlist is available.\n\n## Usage\n\n1. Search for the Telegram bot \"Discoger\" or click [this link](https://t.me/Discogers_bot) to open a conversation with the bot.\n\n## How to use it\n\n### Installation\n\nInstallation is in three steps, the first is getting credentials from Discogs and Telegram.\nYou need to create a [Token](https://www.discogs.com/fr/settings/developers).\n\nFor Telegram you need contact [@BotFather](https://t.me/botfather) and follow a few simple steps for get your authorization token.\n\n### Configuration\n\nAfter that you need create config.ini file\n\n```\n[DEFAULT]\nschedule_time = 30\ndisable_unofficial = True\nlog_level = INFO\n\n[discogs]\nsecret = dbPVkGbCVVffggfgkdfgmlkknzezsbhmscskncno\n\n[telegram]\ntoken = 1766763279:AAFwufBsdfdsfgdfsgfgsfsgdfgsdf\n```\n\n### Docker\n\n```\ndocker container run -v ./:/root/.config/discoger beudbeud/discoger\n```\n\n### Upgrade\n\nIf you use the old version of discoger you need to update your database.\n\nExample of database for the version 1.1\n\n```\nchat_id: 249125421\nrelease_list:\n- release_id: '288931'\n artist: Aloud\n title: Track Lifting\n url: https://www.discogs.com/fr/master/288931-Julian-Jay-Savarin-Waiters-On-The-Dance\n type: master\n last_sell: {}\n- release_id: '26741825'\n artist: Metallica\n title: 72 Seasons\n url: https://www.discogs.com/fr/release/26741825-Metallica-72-Seasons\n type: release\n last_sell: {}\n```\n\n\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 (GPLv3)",
"summary": "Get notification from Discogs",
"version": "2.1.6",
"project_urls": {
"Download": "https://github.com/beudbeud/discoger/archive/2.1.6.tar.gz",
"Homepage": "https://github.com/beudbeud/discoger"
},
"split_keywords": [
"discogs",
"telegram",
"bot"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6f3ace5eeebead7ec71fd8b8e414b5beb5284643b4c13778df2419d566036836",
"md5": "3f2d9a9996584f41abb599d287b5e67d",
"sha256": "b1c8946db340c2c7f74434a931ce1dd2629b8f2618cd271c1e2de1b12cb807bb"
},
"downloads": -1,
"filename": "discoger-2.1.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "3f2d9a9996584f41abb599d287b5e67d",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 20525,
"upload_time": "2024-01-14T11:30:05",
"upload_time_iso_8601": "2024-01-14T11:30:05.027547Z",
"url": "https://files.pythonhosted.org/packages/6f/3a/ce5eeebead7ec71fd8b8e414b5beb5284643b4c13778df2419d566036836/discoger-2.1.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "c965bd54ebbde351f6a3e395d7556055bb62491766956ab203ededb11f761a63",
"md5": "18f0295b3d049d602199c92a37d27969",
"sha256": "e1973aa40736216d76ae06b974fa2c314f6ca6936f85a8a03523bfad47e848b7"
},
"downloads": -1,
"filename": "discoger-2.1.6.tar.gz",
"has_sig": false,
"md5_digest": "18f0295b3d049d602199c92a37d27969",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 20508,
"upload_time": "2024-01-14T11:30:08",
"upload_time_iso_8601": "2024-01-14T11:30:08.095797Z",
"url": "https://files.pythonhosted.org/packages/c9/65/bd54ebbde351f6a3e395d7556055bb62491766956ab203ededb11f761a63/discoger-2.1.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-14 11:30:08",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "beudbeud",
"github_project": "discoger",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "discoger"
}