import json
import os

data=json.loads(open("./Free500KGPlayApps.json").read())  # json file contains package names of 500k app.
flag=0
for key,value in data.items():
    for name in value:
        # if name=="com.cupon24.removal":
        #     flag=1
        if flag==1:
            os.system("gplaycli -f ./Documents/apkks/ --config ./gplaycli.conf -d "+name)  
