Hi everyone,
I’m facing an issue in my project:
# LinkedIn API Testing
from linkedin_api import Linkedin
from credentials import email, password
import json
# Press the green button in the gutter to run the script.
if __name__ == '__main__':
# Authenticate using any LinkedIn account credentials
api = Linkedin(email, password)
# GET a profile
profile = api.get_company('analytics10x')
print(json.dumps(profile, sort_keys=True, separators=(',', ':')))
Error:
File "C:\Users\HP\PycharmProjects\linkedIn_API_testing\main.py", line 15
print(json.dumps(profile, sort_keys=True, separators=(',', ':')))
TabError: inconsistent use of tabs and spaces in indentation
Process finished with exit code 1
How can I solve the issue?
Thanks and Regards,