https://github.com/apinf/apis-lookup-bot
API Bot for searching APIs hosted on APInf
https://github.com/apinf/apis-lookup-bot
Last synced: 11 months ago
JSON representation
API Bot for searching APIs hosted on APInf
- Host: GitHub
- URL: https://github.com/apinf/apis-lookup-bot
- Owner: apinf
- License: other
- Created: 2017-04-24T08:29:06.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-24T13:09:56.000Z (about 9 years ago)
- Last Synced: 2025-01-21T09:28:04.860Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 633 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# apis-lookup-bot
> API Bot for searching APIs hosted on APInf.
### Screenshots
- [Telegram](https://github.com/apinf/apis-lookup-bot/blob/master/screenshots/telegram.png)
- [CLI](https://github.com/apinf/apis-lookup-bot/blob/master/screenshots/cli.png)
### Ideas
As current implementation involves only APIs search by keyword, there is a suggestion to extend the functionality by adding a possibility to request API analytics for selected API or a number of APIs.
This can be achieved by using [chartjs-node](https://github.com/vmpowerio/chartjs-node) on server-side to "render" chart showing API responses over time, save chart image to a file and pass it to a bot.
### Setup
1. Initial setup
```bash
# Clone repo
$ git clone https://github.com/apinf/apis-lookup-bot.git
# Install dependencies
$ npm install
# Rename example.config.js to config.js
$ mv example.config.js config.js
```
2. Update `config.js` with needed credentials
3. Run it with `npm start`
### Build
```bash
$ npm run build
```
### LICENSE
[EUPL-1.1](https://github.com/apinf/apis-lookup-bot/blob/master/LICENSE)