Forum Discussion
badluckmath
5 years agoFrequent Visitor
HELP NEEDED: GETING DATA FROM API
I have to pull a data from a websource that provides a webAPI to downlood the data, here's a tamplate: https://hq.appsflyer.com/export/com.greatapp/partners_report/v5?api_token=xxxx &from=2018-0...
Anonymous
5 years agoNot applicable
Hi badluckmath
You can create two parametrs FromDate and ToDate for the same and use it in the example to pull
for example
= csv.Dcoument(web.Contents("https://hq.appsflyer.com/export/com.greatapp/partners_report/v5?api_token=xxxx&from="&FromDate&"&to="&ToDate&"&media_source=googleadwords_int"))
badluckmath
5 years agoFrequent Visitor
I need the date in the format yyyy-mm-dd, how would this be?
FORMAT(TODAY(), "YYYY-MM-DD") is not working for me, see how it looks:
"....from=2020-07-01&to="& FORMAT(TODAY(), "YYYY-MM-DD")&"&additional_fields=keyword_id,store_reinstall,...."