Skip to main content

everytime-parser and it serve some utility

Project description

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

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,

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

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,

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,

import everytime
friends = everytime.get_friend_list(ses)

and then, we can get friend's time table, too.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

everytime-parser-0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

everytime_parser-0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file everytime-parser-0.1.tar.gz.

File metadata

  • Download URL: everytime-parser-0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for everytime-parser-0.1.tar.gz
Algorithm Hash digest
SHA256 cbb77fe05589b9561a086971f024824155a6db556c52ec29babcded67b9ed5e6
MD5 b9ce27f4f79ffa41645922f7ebfc570e
BLAKE2b-256 4c70b9a31c55581fb3c9fc4103281df0db5665f3295c81f4aa542e5279ac431f

See more details on using hashes here.

File details

Details for the file everytime_parser-0.1-py3-none-any.whl.

File metadata

  • Download URL: everytime_parser-0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for everytime_parser-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 38ae1eed369e28100f7b5640f4758defc645d494da8af3d163c09bd5517f2386
MD5 f02e9a491f0c73501dfa851cef79a151
BLAKE2b-256 151fa3e20a5d32ac4741739114d40554dd0af9998e3e0b065e00c918e5bd0b43

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page