Coder Social home page Coder Social logo

fuckxixunyun's Introduction

FuckXixunyun

基于Python的习讯云命令行客户端(签到)

Latest Update 最新更新

Date of Latest Version 最新版本日期

2018/12/22 02:13

Update Log of Latest Version 最新版本更新日志

修复Log的一些问题

增加回报文字位置功能(之前签到会在网页端显示“未知区域!”字样,现在会根据高德API回报文字地点。)甚至比官方APP稳定(官方APP经常会签成“未知区域!”)

增加签到说明功能(没怎么测试过,应该能用)

代码美化

Usage 使用

1.下载 FuckXXY.py

2.用你喜爱的编辑器(如VIM、Sublime、Code)打开

3.编辑配置区块:

# 配置开始

account = "" # 账号
password = "" # 密码

school_id = "" # 学校ID
# 关于学校ID
# 可以前往 https://api.xixunyun.com/login/schoolmap 查询,比如山东商务职业学院ID为222(截止20181215)

remark_name = "在家" # 签到类型(现已只需填写汉字类型)
# 关于签到类型
# 请注意此类型可能会变更
# 0:上班 1:外出 2:假期 3:请假 4:轮岗 5:回校 6:外宿 7:在家 8:下班

sign_gps = [] # 签到坐标(注意小数点取后6位)
# 关于如何获取坐标
# 例如[0.123456,0.123456],先经度后纬度,可以去 https://lbs.amap.com/console/show/picker 高德取坐标,直接把结果复制到[]里即可
# 每家坐标拾取器标准不同,本脚本采用XY轴坐标格式。例如北京[116.000000,40.000000]

comment = "" # 签到说明(如需换行请使用\\n,如需输入"\"斜杠请使用"\\",以上仅为猜测,作者没用过)

# 配置结束

4.保存

4-1.安装Python3.x(如果你还没安装Python3.x的话)

如果你是萌新,想要在Linux系统(比如树莓派或者路由器)上使用可以用以下方法安装Python3 :)

Deban/Ubuntu:

sudo apt install python3

Centos/RHEL/Fedora:

sudo yum install python3

Fedora:

sudo dnf install python3

Arch:

sudo pacman -S python3

OpenWRT:

sudo opkg install python3

4-2.配置Python环境变量(如果安装时忘记设置的话)

5.打开命令行(Bash、PowerShell、CMD等)

6.运行python {你的目录}\FuckXXY.py(Windows)或python3 {你的目录}/FuckXXY.py(*nux)

7.Enjoy it~

fuckxixunyun's People

Contributors

tgsan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.