diff --git a/README.md b/README.md index b89beaf..a994ba5 100644 --- a/README.md +++ b/README.md @@ -24,13 +24,13 @@ Sign in for access id and token: int token = admin.getToken(); -Fetch categories of household appliances: +Fetch household appliances categories: -    List<Category> categories = webApis.listCategories(); + List categories = webApis.listCategories(); + +Fetch brands of a certain category other than STB: -Fetch brands for an certain category (other than STB): - -    List<Brand> brands = webApis.listBrands(); + List brands = webApis.listBrands(category.getId()); Fetch cities (in China) for STB: @@ -42,9 +42,9 @@ Fetch STB operators of a certain city: List; operators = webApis.listOperators(cityCode); -Fetch remote indexes of certain brand or STB operator: +Fetch remote indexes of a certain brand or STB operator: -    List<RemoteIndex> remoteIndexes = webApis.listRemoteIndexes(categoryID, brandID, cityCode, operatorID); + List remoteIndexes = webApis.listRemoteIndexes(category.getId(), brand.getId(), city.getCode(), operator.getOperator_id()); Download IR binary for certain remote index: