13 lines
311 B
Python
13 lines
311 B
Python
#!/usr/bin/env python3
|
|
"""
|
|
Credential helper for DataForSEO API
|
|
"""
|
|
import os
|
|
|
|
|
|
def get_dataforseo_credentials() -> tuple:
|
|
"""Get DataForSEO login and password from environment"""
|
|
login = os.environ.get("DATAFORSEO_LOGIN")
|
|
password = os.environ.get("DATAFORSEO_PASSWORD")
|
|
return login, password
|