# everytime-parser
everytime-parser served by zaeval.
It is using for nonprofit.




## HOW 2 INSTALL!
```
pip install everytime-parser
```
or
```
pip3 install everytime-parser
```
or
download the .zip file from top of this page (click the clone button)
## Auth
and then, we need auth.
everytime cannot allowed api to anyone.
in, this library serve login function
```python
import everytime
everytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")
```
and this function return session of your user information. So, if you want call another function.
you should save this information into the variable. like this,
```python
import everytime
ses = everytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")
```
## Friend
It just served three functions, send request to be friend, get my friend_list
and get friend's timetable. few month ago, friend's timetable can got with no-auth. but it changed.
first, Introduce send_friend function
```python
import everytime
everytime.send_friend(ses,friend_id="YOUR_FRIEND_ID")
```
if you are success, it return
```
"친구요청에 성공했습니다 : YOUR_FRIEND_ID"
```
else if you are fail, it return
```
"친구요청에 실패했습니다 : YOUR_FRIEND_ID"
```
and this function can read file and batched-sending like this,
```python
import everytime
everytime.send_friend(ses,file="TEXT_FILE_PATH")
```
It required notation, with new line split.
```
YOUR_FRIEND_ID_1
YOUR_FRIEND_ID_2
YOUR_FRIEND_ID_3
YOUR_FRIEND_ID_4
:
:
```
second, we can get my-friend list. like this,
```python
import everytime
friends = everytime.get_friend_list(ses)
```
and then, we can get friend's time table, too.
```python
friend_timetables = []
for friend in friends:
temp = everytime.get_timetable_user_id(ses, friend["userid"])
friend_timetables.append(temp)
```
like this.
## Some Utils
and It served some util function to you.
- union friend's timetable.
- find empty friend's timetable(reverse union)
- change format to see easier
## Examples
- [auth.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/auth.py)
- [get_friend_list.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/get_friend_list.py)
- [send_friend.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/send_friend.py)
everytime-parser served by zaeval.
It is using for nonprofit.




## HOW 2 INSTALL!
```
pip install everytime-parser
```
or
```
pip3 install everytime-parser
```
or
download the .zip file from top of this page (click the clone button)
## Auth
and then, we need auth.
everytime cannot allowed api to anyone.
in, this library serve login function
```python
import everytime
everytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")
```
and this function return session of your user information. So, if you want call another function.
you should save this information into the variable. like this,
```python
import everytime
ses = everytime.login("YOUR_EVERYTIME_UID","YOUR_EVERYTIME_PASSWORD")
```
## Friend
It just served three functions, send request to be friend, get my friend_list
and get friend's timetable. few month ago, friend's timetable can got with no-auth. but it changed.
first, Introduce send_friend function
```python
import everytime
everytime.send_friend(ses,friend_id="YOUR_FRIEND_ID")
```
if you are success, it return
```
"친구요청에 성공했습니다 : YOUR_FRIEND_ID"
```
else if you are fail, it return
```
"친구요청에 실패했습니다 : YOUR_FRIEND_ID"
```
and this function can read file and batched-sending like this,
```python
import everytime
everytime.send_friend(ses,file="TEXT_FILE_PATH")
```
It required notation, with new line split.
```
YOUR_FRIEND_ID_1
YOUR_FRIEND_ID_2
YOUR_FRIEND_ID_3
YOUR_FRIEND_ID_4
:
:
```
second, we can get my-friend list. like this,
```python
import everytime
friends = everytime.get_friend_list(ses)
```
and then, we can get friend's time table, too.
```python
friend_timetables = []
for friend in friends:
temp = everytime.get_timetable_user_id(ses, friend["userid"])
friend_timetables.append(temp)
```
like this.
## Some Utils
and It served some util function to you.
- union friend's timetable.
- find empty friend's timetable(reverse union)
- change format to see easier
## Examples
- [auth.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/auth.py)
- [get_friend_list.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/get_friend_list.py)
- [send_friend.py](https://github.com/zaeval/everytime-parser/blob/master/everytime-parser/examples/send_friend.py)
Metadata
Release files for everytime-parser 0.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| everytime-parser-0.0.6.macosx-10.6-intel.tar.gz | 2.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| everytime_parser-0.0.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.3 kB
Release files / everytime-parser-0.0.6.macosx-10.6-intel.tar.gz
| Download URL | everytime-parser-0.0.6.macosx-10.6-intel.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5214c44c3ff7df4afaa538d4a1dedfb00e54bd2b2f9ca80957242d330551a020
|
|
BLAKE2b-256 checksum How to use checksums |
13801502aa1802b25c4fbe02d3e33a9f0d9d4acc33c2cc7f677cd54407822a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.0
|
Release files / everytime_parser-0.0.6-py3-none-any.whl
| Download URL | everytime_parser-0.0.6-py3-none-any.whl |
|---|---|
| Size | 2.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
abdc4f14751b9ac99a5a996149f81513fc9381f01779c9fd9835ce0f4a0504fb
|
|
BLAKE2b-256 checksum How to use checksums |
21bb8ac98f178b8f33fab5cdd69ae390c240a4ff63632c987a54ef878aa13b67
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/38.5.1 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/3.6.0
|