Created
February 16, 2015 13:30
-
-
Save phoenixperry/2fc5c7ada529b2d41e35 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void ofApp::setup(){ | |
ofHttpResponse resp = ofLoadURL("https://api.spark.io/v1/devices?access_token=7c3a17b73062e01cc52682cbf69a7941d17acb22"); | |
//cout << resp.data << endl; | |
ofHttpResponse resp2 = ofLoadURL("https://api.spark.io/v1/devices/50ff6c065067545637110387/val?access_token=7c3a17b73062e01cc52682cbf69a7941d17acb22"); | |
cout << resp2.data << endl; | |
//https://api.spark.io | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment