GithubHelp home page GithubHelp logo

it-books-bot's People

Contributors

celisflen-bers avatar gusga avatar leocabeza avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

it-books-bot's Issues

Bad Request: message is not modified

In some cases, when the bot sends a chat action to a user, I get this response from the Telegram API:

Telegram API has returned the error. (ok: "false", error_code: "400", description: "Bad Request: message is not modified")

The search parameter must be asked after sending a command

As of now, the command has to be added just after the search command:

/search javascipt

I should be able to send a command first:

/search

and get a bot response like:

ok, what book do you want to download?

And only then I input the title I want to download

javascript

Rewrite is needed

Rewrite is needed to be more Object Oriented. Also, separate it-ebooks api ruby wrapper and it-books-bot.

Show result count and allow for paging

When searching, it will be good to show count result and also be able to scroll to other pages, if the book I want is not in the first page of the results

Error parsing JSON response

When the title or description of a book contains a double quotes, the json parser crashes:

{"ID":3097759947,"Title":"The Ruby Programming Language","Description":"Bestselling author David Flanagan teams up with Ruby creator Yukihiro "Matz" Matsumoto and writer/cartoonist/programmer why the lucky stiff to bring you the authoritative guide to Ruby. Covering versions 1.9 and 1.8, this book helps you learn Ruby's ...","Image":"http://s.it-ebooks-api.info/3/the_ruby_programming_language.jpg","isbn":"9780596516178"}

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.