彼らはtutorial for Raspberry Piですが、それはかなり簡単です。 Pythonライブラリを使用して説明されているので、あなたが求めているものはすべて実際にそれでカバーされています。
これは、あなたがsend a value using their Python libraryに使用し、サーバからの応答を印刷することができるものである。
from ubidots import ApiClient
import math
import time
# Create an ApiClient object
api = ApiClient(token='XXXXXXXXXXXXXXXXXX')
# Get a Ubidots Variable
variable = api.get_variable('YOUR_VARIABLE_ID')
response = variable.save_value({"value": 1})
print response
あるいはまた、これはあなたがget a value using their Python libraryに使用し、サーバからの応答を印刷することができるものである。
from ubidots import ApiClient
import random
#Create an "API" object
api = ApiClient(token='XXXXXXXXXXXXXXXXXX')
#Create a "Variable" object
variable = api.get_variable("YOUR_VARIABLE_ID")
#Get the value from Ubidots
last_value = variable.get_values(1)
print last_value
試したことを示す、いくつかのコード。あなたが何をしたのかわからないと、どうすればあなたを助けることができますか? read:http://stackoverflow.com/help/how-to-ask – olibiaz
リクエストを使用する:http://docs.python-requests.org/ja/latest/ – henrikstroem