-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update
_config.yml
, some api adjustments, etc.
- Loading branch information
1 parent
a801f33
commit 3a4017e
Showing
9 changed files
with
98 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"exists":"true","name":"Akolibed","markup":"html/markdown","author":"Windows_Me"} | ||
{"exists":"true","name":"Akolibed","markup":"html/markdown","author":"none","page creator":"Windows_Me"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
// values lower than 70.00% typically do not meet peppypedia's standards. | ||
{"peppy","progress";"60.02%"} // html-based, should rework | ||
{"disco_prince","progress";"72.05%"} | ||
{"Zallius","progress";"95.20%"} | ||
{"jhlee0133","progress";"92.01%"} | ||
{"WhiteCat","progress";"89.22%"} | ||
{"Bancho","progress";"87.22%"} | ||
{"IRC","progress";"96.99%"} | ||
{"index","progress";"99.92%"} | ||
{"COE","progress";"86.12%"} | ||
{"users","progress";"0.00%"} | ||
{"medals","progress";"0.01%"} | ||
{"mrekk","progress";"97.56%"} | ||
{"Akolibed","progress";"0.00%"} | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"catschema";"alpha","version";"0.1","progress";"0.2%"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
--- | ||
title: API docs | ||
layout: minimal | ||
--- | ||
|
||
<title peppypedia API></title> | ||
|
||
<center><h1>peppypedia API</h1></center> | ||
|
||
peppypedia API documention\ | ||
Notes: `page creator` value exists only when the `author` value is set to `none` or `unknown`. Please state an username on the pull request body. An exception to this is if the following is already added before the metadata: | ||
```md | ||
<t><center>[Your username, do not remove brackets](https://osu.ppy.sh/users/0)</center> | ||
<link rel="stylesheet" href="../profile.css"></t> | ||
|
||
![Your username, do not remove brackets](https://a.ppy.sh/0.jpeg#author "Your username") | ||
``` | ||
|
||
Should we fail to verify that the user profile linked belongs to you, a direct message will be sent to the user in question. If chat message are set to friends-only, we ask that you temporary allow direct messages from anyone, or direct message [Windows Me](<https://osu.ppy.sh/users/28893698>) yourself. | ||
|
||
If the page is a documention page or a parent page, author values aren't required (and should not be added for the former). Should a page be entirely rewritten, the author value will change. | ||
|
||
<center><h2>Users</h2></center> | ||
|
||
if `exists` is set to value `true`, this indicates that the endpoint exists. markup value should always be `html/markdown`. `group` can be have multiple values: | ||
|
||
```json | ||
"group":"ppy" = peppy | ||
"group":"SPT" = Support Team | ||
"group":"Support Team" = Support Team | ||
"group":"GMT" = Global Moderation Team | ||
"group":"Global Moderation Team" = Global Moderaton Team | ||
"group":"NAT" = Nomination Assessment Team | ||
"group":"Nomination Assessment Team" = Nomination Assessment Team | ||
(note: "mode" + gamemode should be inputted after if the group is set to BN, TrialBN, NAT, or BSC) | ||
"group":"TrialBN" = Trial Beatmap Nominator | ||
"group":"Trial Beatmap Nominator" = Trial Beatmap Nomnator | ||
(note: "mode" + gamemode should be inputted after if the group is set to BN, TrialBN, NAT, or BSC) | ||
"group":"BN" = Beatmap Nominator | ||
"group":"Beatmap Nominator" = Beatmap Nominator | ||
(note: "mode" + gamemode should be inputted after if the group is set to BN, TrialBN, NAT, or BSC) | ||
"group":"DEV" = Developer | ||
"group":"Developer" = Developer | ||
"group":"BSC" = Beatmap Spotlight Curators | ||
"group":"Beatmap Spotlight Curators" = Beatmap Spotlight Curators | ||
(note: "mode" + gamemode should be inputted after if the group is set to BN, TrialBN, NAT, or BSC) | ||
|
||
|
||
|
||
```sh | ||
curl --request GET \ | ||
--get "https://milotilo.ddns.net/peppypedia/api/peppy.json" \ | ||
--header "Content-Type: application/XML" \ | ||
--header "Accept: application/XML" | ||
``` | ||
|
||
response: | ||
|
||
```json | ||
{"exists":"true","name":"peppy","markup":"html/markdown","group":"ppy","author":"Windows_Me"} | ||
``` | ||
|
||
API progress can be seen [here](index.ts).\ | ||
page completion progress can be seen [here](api.ts) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{"api";"catschema";"lang";"XML/JSON"} | ||
{"progress","users";"2.5%","beatmaps";"0.00%","medals","0.01%","TOCS";"92.00%","Bancho";"2.1%"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters