Skip to content

Ulimativo/rapidmail_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rapidmail-api

Python Module for the Newsletter Tool Rapidmail


rapidmail-api is a Python library for dealing with the Rapidmail Newsletter Tool API.

Disclaimer:
This project is in no way affiliated with Rapidmail despite myself being a user of the tool.

This is still work in progress and far from being completed

Configuration

rapidmail-api expects an .env file with two variables, and uses dotenv to read the file:

  • RAPIDMAIL_USERNAME -> the Rapidmail API username
  • RAPIDMAIL_PASSWORD -> the Rapidmail API password
  • FILE_PATH -> the path to save generated files

You need to sign-up for Rapidmail and generate an API username and password to access the API. Website: https://www.rapidmail.de/

Usage

import rapidmail as rm

# test connection
print(rm.APIBasic())

# list API users
users=rm.APIBasic()
print(users.list_api_users())

# returns infos on all recipientlists
print(rm.Recipientlists())

# generates and saves a file with alle recipients from a specific list
rm.save_recipients_stats(filename -> STR, list_id -> INT)

API Documentation

The Rapidmail API documentation can be found on their developers website: https://developer.rapidmail.wiki

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages