Пример #1
0
    def createjsobj(self, data_str):
        json_obj = json.dumps(data_str)
        
        fob=open('mwrite' ,'w')
        fob.write(json_obj)
        fob.close()

        dropbox_api.main()
Пример #2
0
    def SEND(self, data_str):
        json_obj = json.dumps([{"sender": "Desktop" , "reciever": "mobile", "command" : "sendSMS","data": data_str}])

        fob=open('mwrite' ,'w')
        fob.write(json_obj)
        fob.close()

        dropbox_api.main()