Login to Intuit Qucikbooks with Python requests

Software technical issues not related to any of the other categories

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
selenanur
Newcomer
Posts: 1
Joined: Thu Oct 08, 2020 2:55 pm
Location: vijayawada
Contact:

Login to Intuit Qucikbooks with Python requests

Post by selenanur » Sat Oct 10, 2020 7:14 am

I am trying to pass the authorization of Quickbooks with <a href="https://codegnan.com/python-course-onli ... >python</a>.

I am using a code:

username = 'user'
password = 'pass'
login_data = dict(Email=username, Password=password)
login_url = 'https://c35.qbo.intuit.com/app/clients'

def main():
with requests.session() as session:
response = session.post(login_url,
data=login_data,
headers={
'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36'
})
I am getting a page with a bunch of "Preload" javascript code and can't get to the app's real homepage.

Any suggestions?

User avatar
Kyleodonnell
NiceLabel Support
NiceLabel Support
Posts: 720
Joined: Mon Aug 28, 2017 3:07 pm

Re: Login to Intuit Qucikbooks with Python requests

Post by Kyleodonnell » Mon Oct 12, 2020 2:35 pm

Selenaur,

What is the purpose of logging into quickbooks through NiceLabel?

Post Reply