Skip to content

maulana20/ovoid-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Un-Official ovoid API Wrapper for Flutter

Repository berikut ini merupakan porting dari ovoid untuk Flutter

Method Result
login2FA Ok
login2FAVerify Ok
loginSecurityCode Ok
getBudget Ok
balanceModel Ok
logout Ok
unreadHistory Ok
getWalletTransaction In Progress
generateTrxId In Progress
transferOvo In Progress

Ambil paket

flutter pub get

Jalankan pada folder example

flutter run

Dokumentasi

import 'package:ovoid_flutter/ovoid_flutter.dart';

OvoidFlutter ovoid = new OvoidFlutter();

Login

Langkah 1
final refId = (await ovoid.login2FA('<mobilePhone>'))['refId'];
Langkah 2
final accessToken = (await ovoid.login2FAVerify(refId, '<OTP>', '<mobilePhone>'))['updateAccessToken'];
Langkah 3
final token = (await ovoid.loginSecurityCode('<PINOVO>', accessToken))['token'];

Mendapatkan jumlah notifikasi yang belum terbaca

Mendapatkan jumlah notifikasi akun ovo anda
ovoid.authToken = token;
final total = (await ovoid.unreadHistory())['total'];

Mendapatkan notifikasi

Mendapatkan notifikasi akun ovo anda
ovoid.authToken = token;
final notifikasi = (await ovoid.allNotification())['allNotification'];

Mendapatkan balance

ovoid.authToken = token;
final response = await ovoid.balanceModel();

Logout

ovoid.authToken = token;
await ovoid.logout();

Contoh

login
  • masukan nomor handphone
  • dialog OTP
  • dialog PIN

login

menu utama

login

profil

profile

anggaran

budget

notifikasi

notification

Author

Maulana Saputra

About

Un-Official OVO API Wrapper for Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published