16 lines
No EOL
347 B
Python
16 lines
No EOL
347 B
Python
from apiclient import APIClient
|
|
import jobs
|
|
import os
|
|
|
|
from dotenv import load_dotenv
|
|
load_dotenv()
|
|
|
|
API = APIClient(
|
|
client_id=os.getenv("client_id"),
|
|
client_secret=os.getenv("client_secret"),
|
|
debug=True
|
|
)
|
|
API.sign_in()
|
|
# profile = requests.userprofile
|
|
profile = jobs.userprofile.get(API, "simon-little")
|
|
print(profile) |