Giter Site home page Giter Site logo

smartertoolspythonwrapper's Introduction

This Python library is a simple and easy-to-use wrapper for the SmarterMail API. It covers various API endpoints and allows you to manage SmarterMail accounts and services programmatically.

Installation You can install the library using pip:

pip install smartermail-api

https://pypi.org/project/smartermail-api/

Usage To use the SmarterMail API wrapper, first import the library and create an instance of the SMAPI class with your SmarterMail credentials:

import smapi

api = smapi.SMAPI("username", "password", "http://smurl.com")

Examples Here are some examples of how to use the SmarterMail API wrapper:

System Admin Only Calls

# Get user details
user_details = api.get_user("[email protected]")

# Get domain details
domain_details = api.get_domain("example.com")

# Export domains list
domains_list = api.export_domains_list()

# Export domains list to file
api.export_domains_list_to_file("test.csv")

Domain Admin Only Calls

# Get domain
domain = api.get_domain()

# Get domain permissions
permissions = api.get_domain_permissions()

# Get total domain users
total_users = api.get_total_domain_users()

# Get alias
alias = api.get_alias("testing")

# Get domain account list count
account_list_count = api.domain_account_list_count()

License This project is licensed under the Apache License 2.0. See the LICENSE file for more information.

Support & Contribution If you encounter any issues or have feature requests, please feel free to open an issue on GitHub. Contributions are also welcome! Simply create a pull request with your changes, and I will review it as soon as possible.

Enjoy using the SmarterMail API wrapper!

smartertoolspythonwrapper's People

Contributors

billzee avatar zjs81 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.