Multicatches and improvements on /botprobability#3
Open
Gabriel-gafb wants to merge 4 commits intoPegabots:mainfrom
Open
Multicatches and improvements on /botprobability#3Gabriel-gafb wants to merge 4 commits intoPegabots:mainfrom
Gabriel-gafb wants to merge 4 commits intoPegabots:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que há de novo nessa versão:
Mais detalhes:
1. Criação de um bot no telegram
Este bot permite fazer requisições ao sistema do pegabot e retornar o resultado em texto para o telegram do usuário
Maiores detalhes sobre quais as funcionalidades, como executá-lo e seu código-fonte:
(https://github.com/iraline/GIM_bot)
OBS: Ficou combinado com os mentores de adicionarmos o código num projeto à parte. O projeto estando público o pessoal do pegabot teria acesso ao código e ao registro do que foi feito.
2. Criação do endpoint /multicatches
Exemplo endpoint :
127.0.0.1:5000/multicatches?profiles=elonMusk,NeymarJrPermite que o usuário, em uma requisição, pesquise múltiplos perfis. No código essa busca é feita de forma sequencial
(permitindo futuramente espaçar o período entre requisições para reduzir riscos de bloqueio de token)
3. Criação do endpoint /multicatchesparallel
Exemplo endpoint:
127.0.0.1:5000/multicatchesparallel?profiles=elonMusk,NeymarJrPermite que o usuário, em uma requisição, pesquise múltiplos perfis em paralelo utilizando threads (logo, buscando dados de forma mais rápida)
OBS: O resultado do /multicatches é igual ao do /multicatchesparallel, o que muda é a forma como são implementados.
4. Melhorias de endpoint /botprobability
Exemplo endpoint :
127.0.0.1:5000/botprobability?profile=elonMuskResultado da requisição atual do /botprobability (antes os valores eram apenas default):
OBS: O /botprobability é funcional apenas para usuários com contas muito movimentadas como famosos
Hackthon Pegabot 2022 - Categoria 1
Grupo 1A:
Iraline Nunes
Gabriel Augusto
Mario Mendonça