Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wangzhizhou/papermc
SDK For PaperMC include: DownloadAPI and HangarAPI
https://github.com/wangzhizhou/papermc
Last synced: about 2 months ago
JSON representation
SDK For PaperMC include: DownloadAPI and HangarAPI
- Host: GitHub
- URL: https://github.com/wangzhizhou/papermc
- Owner: wangzhizhou
- Created: 2024-05-16T13:17:45.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T17:55:54.000Z (6 months ago)
- Last Synced: 2024-07-16T21:19:15.375Z (6 months ago)
- Language: Swift
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PaperMC
API for [PaperMC][PaperMC] and Plugin Platform [Hangar][Hangar], include:
1. [PaperMCAPI][PaperMCAPI] - [OpenAPI Spec][PaperMCAPI OpenAPI Spec]
2. [HangarAPI][HangarAPI] - [OpenAPI Spec][Hangar OpenAPI Spec]
## Usage
```swift
import PackageDescription
let package = Package(
...
dependencies: [
.package(url: "https://github.com/wangzhizhou/PaperMC.git", branch: "main"),
],
targets: [
.target(
name: "Your Target Name",
dependencies: [
.product(name: "PaperMCAPI", package: "PaperMC"),
.product(name: "HangarAPI", package: "PaperMC"),
...
]),
]
...
)```
[PaperMC]:
[Hangar]:[PaperMCAPI]:
[PaperMCAPI OpenAPI Spec]:[HangarAPI]:
[Hangar OpenAPI Spec]: