apklis_api 0.1.0
apklis_api: ^0.1.0 copied to clipboard

discontinued

API for Apklis (Cuban Android App Store) implemented in Dart

Apklis API - Dart #

API for Apklis (Cuban Android App Store) implemented in Dart.

Supports Dio package and Http package. In addition to the packages that inherit from these.

Dart package

Getting Started #

Initialize an instance of the ApklisApi class:

var apklisApi = ApklisApi();

You can also choose to pass a Dio instance or Client instance to the dioClient and httpClient parameters. If both are passed the httpClient will be used.

var apklisApi = ApklisApi(
    dioClient: Dio(),
    httpClient: Client(),
  );

To make the request and obtain the information, use the get method that returns a Future.

var info = await apklisApi.get(['com.example.app1', 'com.example.app2']);

If you want to use a specific library, you can use the getWithDio and/or getWithHttp methods.

var infoWithDio = await apklisApi.getWithDio(['com.example.app1', 'com.example.app2']);
var infoWithClient = await apklisApi.getWithHttp(['com.example.app1', 'com.example.app2']);

Also using the getWithDio and/or getWithHttp methods you can use a specific instance of Dio and Client respectively.

var infoWithDio = await apklisApi.getWithDio(['com.example.app1', 'com.example.app2'], dioClient: Dio());
var infoWithClient = await apklisApi.getWithHttp(['com.example.app1', 'com.example.app2'], httpClient: Client());
5
likes
0
pub points
3%
popularity

Suggested replacement

apklis_web_api

Publisher

Unknown

API for Apklis (Cuban Android App Store) implemented in Dart

Homepage

Documentation

API reference

License

LICENSE

Dependencies

dio, flutter, http, json_annotation

More

Packages that depend on apklis_api