Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

HoshinoTented/LuoGuAPI

Repository files navigation

Join the chat at https://gitter.im/LuoGuAPI/Lobby Jitpack

LuoGuAPI

你谷 的api

感谢您谷,终于美化 API 了

CI

CI Status
CircleCI CircleCI
AppVeyor Build status

Usage

First, add https://dl.bintray.com/hoshinotented/hoshino9 to your maven repository list.

Like this:

repositories {
    maven { url = 'https://dl.bintray.com/hoshinotented/hoshino9' }
}

Gradle

compile 'org.hoshino9:luoguapi-[submodule name]:[version]'
compile("org.hoshino9:luoguapi-[module name]:[version]")

Maven

<dependency>
  <groupId>org.hoshino9</groupId>
  <artifactId>[submodule name]</artifactId>
  <version>[versioon]</version>
  <type>pom</type>
</dependency>

Build

您需要准备一个 JDK 并配置正确的 JAVA_HOME

在项目根目录下执行以下命令:

./gradlew shadowJar
./gradlew sourcesJar

会在 <module>/build/libs 下生成三个 .jar 文件

其中:

  • <module name>-<version number>-all.jar 为本体(附带依赖)
  • <module name>-<version number>-sources.jar 为源码

Stable API

洛谷已 正式 开放 API 的功能(未选中的代表 LuoGuAPI 还未支持):

  • 登录
  • 注册
  • 两步验证
  • 题目列表
  • 题目内容
  • 提交代码
  • 图床
  • 题目的操作
  • 比赛列表
  • 比赛内容
  • 比赛的操作
  • 剪切板列表
  • 剪切板内容
  • 新建剪切板
  • 删除剪切板
  • 编辑剪切板

洛谷还 未正式 开放但已经在开发中的 API(未选中同上):

  • 博客的系列操作(不确定,可能已经正式开放)

无法在 API 列表中寻找到的功能:

  • 讨论版
  • 试炼场

About

API of LuoGu

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy