https://github.com/lolikillers/simple-rest-api
Simple Rest Api Scraping
https://github.com/lolikillers/simple-rest-api
express-js javascript rest-api restful-api scraping
Last synced: about 1 year ago
JSON representation
Simple Rest Api Scraping
- Host: GitHub
- URL: https://github.com/lolikillers/simple-rest-api
- Owner: LoliKillers
- Created: 2022-09-03T09:52:56.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2022-09-04T04:44:09.000Z (almost 4 years ago)
- Last Synced: 2025-04-08T07:39:03.425Z (about 1 year ago)
- Topics: express-js, javascript, rest-api, restful-api, scraping
- Language: JavaScript
- Homepage: https://darkcoder.xyz
- Size: 283 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

# SIMPLE REST API
>
>
>
## Installation
Download dan install terlebih dahulu package [npm](https://npmjs.com/)
* Clone repo ini terlebih dahulu
* Install semua package/module yang akan di gunakan
```bash
npm install
```
## Usage
Untuk memulai server, ketik perintah dibawah melalui CMD:
```bash
npm start
```
Atau
```bash
npm run nodemon
```
Dan buka tauatan [localhost:8080](http://localhost:8080/)
### Deploy in heroku
```shell
npm install --global heroku
heroku login
git clone https://github.com/LoliKillers/simple-rest-api
cd simple-rest-api
heroku create YOUR_APP_NAME_HEROKU
heroku git:remote -a YOUR_APP_NAME_IN_HEROKU
git add .
git commit -m "Make It Butter"
git push heroku master
```
#### Or
[](https://heroku.com/deploy?template=https://github.com/LoliKillers/simple-rest-api)
Open : [https://APP_NAME.herokuapp.com](https://APP_NAME.herokuapp.com)
Demo : [https://simple-rest-api-example.herokuapp.com](https://simple-rest-api-example.herokuapp.com)
## Endpoint
| Url | Params | Type | Keterangan |
| ------------- |:-------------:| :-----:| :-----|
| / | - | - | beranda
| /image/pinterest/{query} | query | String | Mencari gambar dari [pinterest](https://id.pinterest.ca) |
| /image/wallpaperflare/{query} | query | String | Mencari gambar dari [wallpaperflare](https://wallpaperflare.com) |
| /convert/emoji2png/{emoji} | emoji | String | Mengkonversi imoji/emoticon menjadi image/png |
| /anime/anoboy/{query} | query | String | Mencari detail anime dari situs [anoboy](https://62.182.83.93) |
| /anime/otakudesu/{query} | query | String | Mencari anime dan detail dari situs [otakudesu](https://otakudesu.fun/) |
| /anime/mal/search/{query} | query | String | Mencari detail anime, dengan beberapa list dari situs [my anime list](https://myanimelist.net) |
| /anime/mal/manga/{query} | query | String | Mencari detail manga, dengan beberapa list dari situs [my anime list](https://myanimelist.net) |
| /anime/mal/character/{query} | query | String | Mencari character, dengan beberapa list dan detail character anime dari situs [my anime list](https://myanimelist.net) |
| /anime/mal/top-airing | - | - | Dapatkan top airing hari ini dari [my anime list](https://myanimelist.net) |
| /anime/mal/top-anime | - | - | Dapatkan top anime hari ini dari [my anime list](https://myanimelist.net) |
## Sample response
Hasil result json : https://simple-rest-api-example.herokuapp.com/
```json
{
"date":"2022-09-04T02:00:34.899Z",
"coder":"Loli Killers",
"message":"Selamat datang di simple rest api"
}
```
## Credits 📍
* Nah, itu semua ada dalam sejarah komit
Jangan ragu untuk membuka permintaan tarik jika anda menemukan kesalahan
* Jangan lupa untuk meninggalkan bintang ok
* Dan tunggu update saya selanjutnya!!👣
* Mastah diem yak, jangan dibuli, namanya juga pemula stah
* Begabunglah dengan group [whatsapp saya](https://chat.whatsapp.com/EH9g1SKf588HXEFY51zQMu)
## License
[MIT](https://choosealicense.com/licenses/mit/)
Copyright (c) 2020-present