Skip to main content

Jike Metro 🚇 : Jike Python SDK

Project description

Travis PyPI PyPI - License PyPI - Python Version PyPI - Status GitHub contributors Say Thanks GitHub stars

Jike Metro 🚇 是即刻镇的地铁工程,旨在提高即友的出行游览效率。

安全提醒:Jike Metro 🚇 目前是地下工作,非官方授权,随时可能翻车,给果果 🐈 买小鱼干可保平安。

https://cdn.ruguoapp.com/Ftub2jUf092k6GYua0DTV8t-PMoR.jpg?imageView2/0/w/2000/h/400/q/50

图片来源: 即刻九号工友“果果”和小伙伴们

Jike Metro 🚇 简易乘车指南

>>> c = jike.JikeClient()
>>> c.get_my_profile()
User(id='58cf99696a34ae0015b9f5d5', screenName=挖地道的)
>>> my_collection = c.get_my_collection()
>>> my_collection[0]
OfficialMessage(id='55dd572f41904d0e00fc58f8', content=即刻果果: 分享一只曾经的童星已光速成长)
>>> news_feed = c.get_news_feed()
>>> news_feed[0]
OfficialMessage(id='5ac347a30799810017977041', content=DeepMind 发布新架构  让AI 边玩游戏边强化学习)
>>> ceo = c.get_user_profile(username='82D23B32-CF36-4C59-AD6F-D05E3552CBF3')
>>> ceo
User(screenName=瓦恁)
>>> c.create_my_post(content='Jike Metro 🚇 released!', link='https://github.com/Sorosliu1029/Jike-Metro')
True

更详细的乘车指南请移步 👉 Jike Metro 🚇 乘车指南

Jike Metro 🚇 乘车体验

Jike Metro 🚇 目前支持:

  • 获取自己的收藏,查看自己的用户信息

  • 流式获取首页消息和动态

  • 获取某个用户的用户信息、发布的动态、创建的主题、关注的主题、TA关注的人和关注TA的人

  • 获取某条消息/动态的评论

  • 获取某个主题下的精选和广场

  • 发布个人动态(可带图、带链接、带主题),删除个人动态

  • 点赞、收藏、评论、转发某条消息/动态

  • 在浏览器中打开某条消息的原始链接

  • 根据关键词搜索主题

  • 根据关键词搜索自己的收藏

  • 获取即刻首页的推荐关注主题列表(不限于首页显示的5个)

Jike Metro 🚇 现在支持 Python 3.4-3.6

Jike Metro 🚇 入口

可通过 pip 安装 Jike Metro 🚇

$ pip install jike

注意安全,小心行驶,不要影响其他即友的出行。

Jike Metro 🚇 基础设施

Jike Metro 🚇 基于:

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

jike-0.5.0-py3-none-any.whl (20.9 kB view details)

Uploaded Python 3

File details

Details for the file jike-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jike-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 709fe0e2bb045ef16134e9043b4c261a7f8647537d16cb7b4a4bde1ef95cff64
MD5 dc8e501051932d943c53a66d560e44b9
BLAKE2b-256 64e1bcd08b86fb17037e778f44e4581d5f38b17b8d9812d6f2a1e6d324b8c842

See more details on using hashes here.

Supported by

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