npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

ovoid

v2.2.1

Published

Un-Official ovoid API Wrapper for NodeJS

Downloads

52

Readme

Un-Official ovoid API Wrapper for NodeJS

Repository berikut ini merupakan porting dari ovoid untuk NodeJS

enter image description here

Method

  • [x] login2FA

  • [x] login2FAVerify

  • [x] loginSecurityCode

  • [x] getBalance

  • [x] getBudget

  • [x] logout

  • [x] unreadHistory

  • [x] getWalletTransaction

  • [x] generateTrxId

  • [x] transferOvo

Instalasi

npm install ovoid atau yarn add ovoid

Dokumentasi


const OVOID =  require('ovoid');

let ovoid =  new  OVOID();

Login

Langkah 1

let refId =  await ovoid.login2FA('nomorhandphone');

Jika ingin menggunakan deviceId yg sudah pernah dipakai


let refId =  await ovoid.login2FA('nomorhandphone', 'deviceId');

Response:

{
  "otp_refId": "a82eddf0-1eee-400b-b8aa-xxxxxx",
  "device_id": "707503a4-9314-xxxx-a931-bf575c08b23b"
}
Langkah 2

let accessToken =  await ovoid.login2FAVerify(refId.otp_refId,'OTP','nomorhandphone', refId.device_id);

Response

{
      "otp_ref_id": "a82eddf0-1eee-400b-b8aa-1cce98fe10a8",
      "type": "LOGIN",
      "expires_at": "1630598216",
      "otp_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJjb2RlaGFzaCI6IlptWmxZekJrTnpBeU5ESXpOR00zTjJGbU1Ea3daakF6TXpJMk1qTXdNV1UiLCJyYW5kb20iOiJNamt3TmpNM056STQiLCJ2ZXJzaW9uIjoxfQ.xxxxxxxxxxxxxx"
}
Langkah 3

let authToken =  await ovoid.loginSecurityCode('PINOVO', accessToken.otp_token, 'nomorhandphone', refId.otp_refId, refId.device_id);

Jika ingin menggunakan FCM token yg sudah ada


let authToken =  await ovoid.loginSecurityCode('PINOVO', accessToken.otp_token, 'nomorhandphone', refId.otp_refId, refId.device_id, 'FCMToken');
Untuk mengakses resource selanjutnya

ovoid =  new  OVOID(authToken.refresh_token)

Mendapatkan jumlah notifikasi yang belum terbaca

Mendapatkan jumlah notifikasi akun ovo anda


let unread =  await ovoid.getUnreadHistory();

Mendapatkan notifikasi

Mendapatkan notifikasi akun ovo anda


let notif =  await ovoid.getAllNotification();

Info profile pengguna

Mendapatkan info profile ovo


let profile =  await ovoid.getProfile();

Mendapatkan balance

Mendapatkan balance ovo anda, tipe wallet yang dapat dipilih :

  • cash : OVO Cash

  • point : OVO Point


let balanceCash =  await ovoid.getBalance(tipe);

Transfer ke sesama OVO

Cek apakah nomor tujuan terdaftar di OVO

let isOVO =  await ovoid.isOVO(nominal, 'nomortujuan');
Transfer ke nomor tujuan

let transferOvo =  await ovoid.transferOvo('nomortujuan', nominal, 'catatan');

Transfer ke rekening bank

Cek kode bank

let getRefBank =  await ovoid.getRefBank();
Cek tujuan transfer (transfer inquiry)

let transferInquiry =  await ovoid.transferInquiry(no_rekening, nominal, 'kodebank', 'nama bank', 'catatan');
Transfer ke rekening tujuan

let transferBank =  await ovoid.transferBank('nama penerima', 'nomor_akun_ovo', 'nomor_rekening_tujuan', nominal, 'kodebank', 'nama bank', 'pesan', 'catatan');

Logout


ovoid.logout();

License

MIT

Author

Achmad Apriady