gyugie / ovoid
There is no license information available for the latest version (dev-main) of this package.
Un-Official OVO ID API Wrapper
dev-main
2021-09-17 09:58 UTC
Requires (Dev)
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-05-29 01:46:49 UTC
README
Repository Berikut Ini Merupakan Porting Dari namdevel (https://github.com/namdevel/ovoid-API) Untuk PHP
Compliant with the Sep 17, 2020 OVO API update.
Fitur Akun Pengguna OVO
- generateUUIDV4
- getDeviceId
- login2FA
- login2FAVerify
- loginSecurityCode
- getWalletTransaction
- isOVO
- walletInquiry
Dokumentasi
Langkah Untuk Menjalankan OVOID API
Ambil Paket Pada Composer
composer require gyugie/ovoid
Jika Di Jalankan Dengan Native
require 'vendor/autoload.php'; use Gyugie\OVOID; $ovo = new OVOID();
Fitur Akun Pengguna OVOID
Genereate Device ID
$device_id = $ovo->generateUUIDV4();
$ovo = new OVOID('<device_id>');
Login Dengan Nomor Handphone
$loginToken = $ovo->login2FA('<mobilePhone>')->getOtpRefId();
Login Pada OVOID Untuk Mendapatkan OTP REF ID
$authToken = $ovo->login2FAVerify('<otp_ref_id>', '<OTP>', '<phone number>')->getOtpToken();
Mendapatkan Acess Token Informasi Akun Pengguna
$result = $ovo->loginSecurityCode('<secutrity_code>', '<phone number>', '<otp_token>')->getAuthorizationToken();
history transaksi
$ovo = new OVOID('<device_id>', '<access_token>'); $result = $ovo->getWalletTransaction('<page>', '<limit>')->getData();
mendapatkan saldo akhir
$ovo = new OVOID('<device_id>', '<access_token>'); $result = $ovo->walletInquiry()->getCardBalance('OVO';
Contributing
All kinds of contributions are welcome - code, tests, documentation, bug reports, new features, etc...
- Send feedbacks.
- Submit bug reports.
- Write/Edit the documents.
- Fix bugs or add new features.