Create and share a Message Secretly.
Project description
Secret-Message
Create and share Messages in a Secret way.
Install
pip install secretmessage
Import the package
import secretmessage
# ------OR------
#from secretmessage import create,show,history
Create a Message:
import secretmessage as message
message.create("<USERNAME>","<YOUR_MESSAGE>","<PASSWORD_FOR_THE_MESSAGE>")
For creating a message it takes only 3 parameters:
1. Username - Just add your name as username(No registration stuff is required.)
2. Text Message - You can add your message
3. Message Password = Create a password of your choice for the message you are creating
• Output:
{
"id": <YOUR_MESSAGE_ID>,
"text_message": "<YOUR_MESSAGE>",
"password": "<YOUR_MESSAGE_PASSWORD>",
"web_msg_link": "<YOUR_MESSAGE_LINK_FOR_WEB>",
"api_msg_link": "<YOUR_MESSAGE_LINK_FOR_API_CALL>"
}
web_message_link - Using this link anyone will be able to access your message from web[Any web browser].
api_msg_link - Using this link anyone will be able to access your message by api call
Show/Read Message
import secretmessage as message
message.show("<USERNAME>","<MESSAGE_LINK>","<PASSWORD_OF_THE_MESSAGE>")
For showing or reading someone else's messages,it takes only 3 parameters:
1. Username - Just add your name as username(No registration stuff is required.)
2. Message Link - This link must the "api_msg_link" in order to read or view the message.
3. Password - This must be the exact password for the message created by other user.
• Output:
{
"text_message" : "<USER'S_MESSAGE>"
}
Message History
import secretmessage as message
message.history("<Username>")
For getting history of your messages,it takes only 1 parameter:
1. Username - Just add your name as username(No registration stuff is required.)
• Output:
{
"Messages": [
{
"id": <YOUR_MESSAGE_ID>,
"text_message": "<YOUR_MESSAGE>",
"password": "<YOUR_MESSAGE_PASSWORD>",
"web_msg_link": "<YOUR_MESSAGE_LINK_FOR_WEB>",
"api_msg_link": "<YOUR_MESSAGE_LINK_FOR_API_CALL>"
},
........,
]
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
secret_message-0.6.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file secret_message-0.6.tar.gz.
File metadata
- Download URL: secret_message-0.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6c914a1cc5fd9cbe364ddeea8e32444128cdee5eff0a4c694ac036a5deb4575
|
|
| MD5 |
88624e73afe66d14a5511c1986a4f84e
|
|
| BLAKE2b-256 |
5e887db31d5f9cb0b44b0c8d29ac7c1d63eddcb2fb7608d8eb4eac3b5f6ee712
|
File details
Details for the file secret_message-0.6-py3-none-any.whl.
File metadata
- Download URL: secret_message-0.6-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e3ca5c0b0475f9ff97774165f5b04c94b5583066fbc08ee8228d6d2e3f343ff
|
|
| MD5 |
47add0c58bc8de99655eb10926923875
|
|
| BLAKE2b-256 |
b6c2bf86073ce8a0054f6c3406c3813481036dd0fed18a343fa7e94fbb1360f1
|