From 5ffae188c7cd72b638f0bb0b4a66a1cc5031f32d Mon Sep 17 00:00:00 2001 From: Strawmanbobi Date: Tue, 25 Apr 2017 19:42:19 +0800 Subject: [PATCH] Update README.md --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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: