Simple Fetion Message
Project description
PyFetion
===================================
This python module is used to send short message.<br />
Now it only support sending messages by Fetion.<br />
So you can only send to yourself or your friends in Fetion.<br />
### Installation:
$ pip install pyfetion
or
$ python setup.py install
### Usage:
```python
Situations:
1. send a message
2. send a group message (more than people)
Import:
from pyfetion import sendMessage
Usage:
sendMessage(fetionAccount, fetionPassword,
receiver_phone, message_content)
For example:
send message someone:
sendMessage('13011111111', 'fetion password',
'13011111112', 'test message')
send message to more than one people:
sendMessage('13011111111', 'fetion password',
['13011111112', '13011111113', '13011111114'],
'test message')
Description:
Send Message According to Fetion Group:
Usage:
sendFetionGroupMessage(fetionAccount, fetionPassword,
fetionGroupName, messageContent)
Take Care:
1. Make sure fetionAccount and fetionPassword Correct
2. Make sure fetionGroupName exist
3. Make sure fetionGroupName must be not Empty.
For example:
sendFetionGroupMessage('13011111111', 'fetionPassword',
'同学', '大家还好吗?有空聚一聚')
```
# HISTORY
----------------------------------------
#### 1.1.6 (2015-03-01)
----------------------------------------
#### Behavioural Changes
* null
#### Bugfixes
* @TODO still sometimes freeze my account
* fix SEARCH FRIEND INFO URL form data
data = {
'queryKey': tel
}
#### 1.1.5 (2015-02-09)
----------------------------------------
#### Behavioural Changes
* + sendGroupWeather
* + sendWeather
* + sendFetionAllGroupsMessage
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.4 (2015-02-01)
----------------------------------------
#### Behavioural Changes
* send fetion groups function:
from pyfetion import sendFetionGroupsMessage
help(sendFetionGroupsMessage)
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.3 (2015-02-01)
----------------------------------------
#### Behavioural Changes
* search phone number to check if it's your friend
* add fetion friend function:
from pyfetion import addFetionFriend
help(addFetionFriend)
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.2 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* remove do heart beat
#### Bugfixes
* null
#### 1.1.1 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* null
#### Bugfixes
* 1. if username or password error, i.e. login failed, return bad request
#### 1.1.0 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* 1. Code refactoring
* 2. do heart beat: alllist.action....
* 3. URL add time milisecond ?
#### Bugfixes
* null
#### 1.0.0 (2015-01-26)
----------------------------------------
#### Behavioural Changes
* 1. Code refactoring
* 2. require `requests`
* 3. add Class: Fetion
* 4. add function:
* 1. sendMessage(...)
* 2. sendFetionGroupMessage(...)
#### Bugfixes
* null
===================================
This python module is used to send short message.<br />
Now it only support sending messages by Fetion.<br />
So you can only send to yourself or your friends in Fetion.<br />
### Installation:
$ pip install pyfetion
or
$ python setup.py install
### Usage:
```python
Situations:
1. send a message
2. send a group message (more than people)
Import:
from pyfetion import sendMessage
Usage:
sendMessage(fetionAccount, fetionPassword,
receiver_phone, message_content)
For example:
send message someone:
sendMessage('13011111111', 'fetion password',
'13011111112', 'test message')
send message to more than one people:
sendMessage('13011111111', 'fetion password',
['13011111112', '13011111113', '13011111114'],
'test message')
Description:
Send Message According to Fetion Group:
Usage:
sendFetionGroupMessage(fetionAccount, fetionPassword,
fetionGroupName, messageContent)
Take Care:
1. Make sure fetionAccount and fetionPassword Correct
2. Make sure fetionGroupName exist
3. Make sure fetionGroupName must be not Empty.
For example:
sendFetionGroupMessage('13011111111', 'fetionPassword',
'同学', '大家还好吗?有空聚一聚')
```
# HISTORY
----------------------------------------
#### 1.1.6 (2015-03-01)
----------------------------------------
#### Behavioural Changes
* null
#### Bugfixes
* @TODO still sometimes freeze my account
* fix SEARCH FRIEND INFO URL form data
data = {
'queryKey': tel
}
#### 1.1.5 (2015-02-09)
----------------------------------------
#### Behavioural Changes
* + sendGroupWeather
* + sendWeather
* + sendFetionAllGroupsMessage
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.4 (2015-02-01)
----------------------------------------
#### Behavioural Changes
* send fetion groups function:
from pyfetion import sendFetionGroupsMessage
help(sendFetionGroupsMessage)
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.3 (2015-02-01)
----------------------------------------
#### Behavioural Changes
* search phone number to check if it's your friend
* add fetion friend function:
from pyfetion import addFetionFriend
help(addFetionFriend)
#### Bugfixes
* @TODO still sometimes freeze my account
#### 1.1.2 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* remove do heart beat
#### Bugfixes
* null
#### 1.1.1 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* null
#### Bugfixes
* 1. if username or password error, i.e. login failed, return bad request
#### 1.1.0 (2015-01-31)
----------------------------------------
#### Behavioural Changes
* 1. Code refactoring
* 2. do heart beat: alllist.action....
* 3. URL add time milisecond ?
#### Bugfixes
* null
#### 1.0.0 (2015-01-26)
----------------------------------------
#### Behavioural Changes
* 1. Code refactoring
* 2. require `requests`
* 3. add Class: Fetion
* 4. add function:
* 1. sendMessage(...)
* 2. sendFetionGroupMessage(...)
#### Bugfixes
* null
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
pyfetion-1.1.6.tar.gz
(5.8 kB
view details)
File details
Details for the file pyfetion-1.1.6.tar.gz
.
File metadata
- Download URL: pyfetion-1.1.6.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6708187a931ef34648428b77a74b73ed5411c80745df147b6e0b91d6566681f0 |
|
MD5 | 8bf0ceb4630500c8e00e60316cd2a926 |
|
BLAKE2b-256 | da6290345680c4565724324bc75db0e2280ab2fae8fa7f2419c2af034424646f |