Coder Social home page Coder Social logo

hnunewsapi's Introduction

HNU新闻api

该项目是由使用GitHub+Vercel搭建,使用Python实现,所返回的数据是在HNU官网上进行爬取,本项目已开源在GitHub

请求地址:http://hnu.xhand.fun/
GET请求参数:

类型 请求链接
通知公告 http://hnu.xhand.fun/an
院部动态 http://hnu.xhand.fun/bn
学术预告 http://hnu.xhand.fun/cn
师大新闻 http://hnu.xhand.fun/dn
所有 http://hnu.xhand.fun
http://hnu.xhand.fun/all

POST请求参数:

字段 说明 类型 备注 是否必填
types 类型 String
count 数量 Int 0 < count <= 100

types

说明 说明
an 通知公告 aj 教学新闻
bn 院部动态 bj 教务通知
cn 学术预告 cj 公示公告
dn 师大新闻 dj 考务管理
all 所有

返回参数:

字段 说明 类型
code 接口状态码 Int
message 接口信息 String
data 数据 Object

data

说明
id ID
time 时间
title 标题
url 详细链接

hnunewsapi's People

Contributors

jialifunia avatar

Watchers

 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.