Last active
August 29, 2015 14:17
-
-
Save BAXTER001/f819b3290c2810352233 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
#!/usr/bin/env python | |
from beatbox import PythonClient | |
client = PythonClient() | |
client.serverUrl = "https://test.salesforce.com/services/Soap/u/32.0" | |
client.login('paul.baxter@totally-real-username.com.test','totallymypassword123') | |
result = client.query("""Select | |
Id,CaseNumber,CreatedDate | |
From | |
Case | |
Where | |
CreatedDate = TODAY | |
Limit 5""") | |
print(result) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment