Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

added api for category apps list

Hasib Prince requested to merge 6653-category_apps into master

Description

New Api is introduced to fetch apps under a category. This api fetches about 200 items. These items are based on location. that means, 200 apps list from asia and 200 apps of from Europe will be different. Previous api used by app lounge fetched some recommended apps for users, some tops apps of a particular category etc. That number of items was not enough for users.

Technical details

The new api is found from a gpaly crawler project. This is the end point: https://android.clients.google.com/list. A new class CategoryAppList is introduced to use this api. This classes exposed two methods one is getCategoryAppsList() returns StreamCluster who fetches the first page of data another one is next() who fetches data other pages using nextPageUrl of StreamCluster by the help of ClusterHelper. So that, apps can be fetched by pagination.

Issues

backlog/-/issues/6653

10 commandments of code reviews

<Keep the link above in the merge request description to remind the 10 commandments to the reviewers.>

👪 https://gitlab.e.foundation/internal/wiki/-/wikis/development/code-review

Edited by Hasib Prince

Merge request reports

Loading