MonoAnonymousAPI class

Anonymous monobank API client

Can be used for currency getting

Inheritance
Mixed in types

Constructors

MonoAnonymousAPI({String domain = _monoPureDomain})
New anonymous client

Properties

domain Uri
Root path
finalinherited
globalTimeout Duration
Minimal timeout between all requests
finalinherited
hashCode int
The hash code for this object.
no setterinherited
isCartBusy bool
Returns true if there are requests being throttled
no setterinherited
noAuthDomain Uri
No authentication Root path
finalinherited
requestTimeouts Map<String, Duration>
Minimal timeout between requests of the same class
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String?
Request credential
finalinherited

Methods

authAttacher(APIRequest request) → void
Attaches credentials to given request
inherited
call(APIRequest request) Future<APIResponse>
Evaluate the request
inherited
currency({bool burst = false}) Future<Iterable<CurrencyInfo>>
Get currencies
inherited
getMethodRequestTimeout(String methodId) Duration
Returns configured delay between requests of the same class
inherited
isMethodBusy(String methodId) bool
Returns is method [of class] is currently in-work
inherited
isRequestImmediate(String? methodId) bool
Returns true if request [of class] can be sent immediately
inherited
lastRequest({String? methodId}) DateTime
Returns last time request was sent
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
preprocessRequest(APIRequest request) → void
Preprocesses given request
inherited
toString() String
A string representation of this object.
inherited
willFreeIn({String? methodId}) Duration
Returns minimum required time until request [of class] can be sent
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited