Giter Club home page Giter Club logo

musicbot's Introduction

MusicBot

Chatbot de consulta de musicas no telegram. Utiliza o Watson Assistant como gerenciador e a API do Spotify para consultas.

Configurações

Precisa-se que se configure o arquivo de configuração config.ini com as configuraçõe de cada api utilizada no projeto.

A seguir as variáveis que devem ser configuradas no arquivo config.ini:

  • IAM_TOKEN: token IAM do Watson Assistant
  • WATSON_ASSISTANT_URL: URL do Watson Assistant
  • ASSISTANT_ID: ID do Assistant criado no Watson Assistant
  • S2T_TOKEN: token IAM da API Watson SpeechToText
  • S2T_URL: URL da API Watson SpeechToText
  • T2S_TOKEN: token IAM da API Watson TextToSpeech
  • T2S_URL: URL da API Watson TExtToSpeech
  • BOT_TOKEN: token do bot criado no Telegram
  • SPOTIFY_KEY: chave da API do SPOTIFY
  • CLIENT_ID: client_id adquirido na criação do APP no Spotify Developer
  • CLIENT_SECRET=client_secret adquirido na criação do APP no Spotify Developer
  • TOKEN_URL=https://accounts.spotify.com/api/token

Bibliotecas necessárias

  • pip install ibm-watson
  • pip install oauthlib
  • pip install requests-oauthlib
  • pip install requests
  • pip install ibm-cloud-sdk-core
  • pip install logging42
  • pip install configparser2
  • pip install python-telegram-bot

musicbot's People

Contributors

rafaelbr avatar alenkaleb avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.