Added new vendors

This commit is contained in:
Bryce Covert
2019-11-17 19:44:24 -08:00
parent 141e5b06f1
commit ed592aaa98
2 changed files with 28 additions and 4 deletions

View File

@@ -160,6 +160,21 @@
(recur (concat transactions transaction-batch) (+ batch-size skip))
transactions)))))
(defn count-specific-transactions [account]
(let [cob-session (login-cobrand)
user-session (login-user cob-session)]
(-> (str (:yodlee-base-url env) "/transactions/count?accountId=" account)
(doto println)
(client/get {:headers (doto
(merge base-headers {"Authorization" (auth-header cob-session user-session)})
println)
:as :json})
:body
:transaction
)))
(defn get-access-token []
(let [cob-session (login-cobrand)
user-session (login-user cob-session)