« first day (2 days earlier)
← previous day
last day (14 days later) »
FrankZ
7:43 AM
@Koba When you print d.text, the output should be your CSV.
6 hours later…
FrankZ
1:34 PM
Here's my code which definitely works and just prints out the resulting CSV:
`import requests
l = requests.get('https://test.salesforce.com/?un=username&pw=password')
report = requests.get('https://cs18.salesforce.com/00Ob0000001lNhy?export=1&xf=csv', cookies=l.cookies)
print report.content`
« first day (2 days earlier)
← previous day
last day (14 days later) »
all rooms
Transcript for
Aug
23
Aug '14
25
Sep
8
Discussion between FrankZ and Koba
Imported from a comment discussion on
salesforce.stackexchange...
api
python
reporting
join this room
about this room
00:00
06:00
12:00
18:00
all times are UTC
site design / logo © 2024 Stack Exchange Inc;
legal
mobile