iandioch / bookbot Goto Github PK
View Code? Open in Web Editor NEWMessenger bot to handle book lib
Messenger bot to handle book lib
This will become more important as more books are added, as there is a max message size limit.
Also, to query a book, a user will have to copy and paste it (difficult on mobile) or type the title/isbn in.
eg. say "this book is at the office library" or "this book is available in DCU library"
The author data that comes back from the API/s is messy, so I try to split based on some punctuation, but that sometimes messes up (eg. one book had "translation, " as an author, which was then split on comma)
Eg searching "zen and the art" returns "Zen en de kunst van het motoronderhoud".
URLs are recognised as anything starting with 'http', this could be improved :)
Right now the quick replies is a list associated with the class of that view, so shouldn't be modified. This makes conditional quick replies (eg. only show "I own this book" if the user doesn't already own it, otherwise say "I don't own this book) difficult.
Also save things like the default port in that file.
books that you do not own but you still want to track
important for when you send messages without internet, or the bot goes down
eg. papers, random PDFs, web articles
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.