A RESTful API that scrapes the https://logammulia.com to get you today's buy and buyback for emas and perak.
- Clone this repo:
git clone https://github.com/irhamdz/emasperak-API.git
- move to the repo downloaded:
cd emasperak-API
- Install dependencies:
npm install
or in shorthandnpm i
- run the server :
npm start
or if you want to run in dev modenpm run dev
DEBUG=* npm run dev
- Get last updated emas price:
GET /emas
Host: localhost:3000
Content-Type: application/json; charset=utf-8
- Get last updated perak price:
GET /perak
Host: localhost:3000
Content-Type: application/json; charset=utf-8
- Add docs (?)
- Add perak API
- Add emas buyback API
- Add perak buyback API
- Add another location other than pulogadung - jakarta
- Add average indonesian inflation API
- Add USD kurs API
- Deploy to Google App Engine
- Add mongodb (via Mongo Atlas)
- Add Redis
Notes
- This API scrapes https://logammulia.com unofficially.