Implementation of Smartlead API in Python. Original API documentation can be found here
- Download the GitHub repository
- Create a folder called "smartlead" in your project's src code directory
- Extract the
__init__.pyfile into your smartlead folder - Start using the library!
from smartlead import Smartlead
API_KEY = "your_api_key"
Smartlead.api_key = API_KEY
smartlead = Smartlead()
response = smartlead.v1.campaigns.create("Your campaign", None)
print(response)