You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+22-12
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,17 @@
1
-
# Black Desert social RESTAPI
2
-
An unofficial REST API server for Black Desert Online community data.
1
+
# BDO-REST-API
2
+
A collector for Black Desert Online player in-game data that provides an unofficial REST API.
3
3
4
4
## Projects using this API
5
-
-[BDO Leaderboards](https://bdo.hemlo.cc/leaderboards/): a web-based leaderboard application for BDO guilds.
5
+
-[BDO Leaderboards](https://bdo.hemlo.cc/leaderboards/) ([GitHub](https://github.com/octoman90/BDO-Leaderboards)): web-based leaderboards for Black Desert Online.
6
6
7
-
## API routes
8
-
The current version of API is v1. **v0 is no longer supported** and is not fully functional due to changes in the official BDO website.
9
-
- The migration guide can be found [here](doc/migrationGuilde.md).
10
-
- The v1 OpenAPI documentation can be found [here](https://gitlab.com/man90/black-desert-social-rest-api/-/tree/master/doc/api/openapi.json).
11
-
12
-
## Getting the binary
13
-
You can either download prebuilt binaries from [here](https://gitlab.com/man90/black-desert-social-rest-api/-/pipelines) or build them yourself following [this guide](doc/buildingFromSource.md).
7
+
## How to start using it
8
+
There are two ways to use this API in your apps:
9
+
1.https://bdo-rest-api.herokuapp.com/v1 is an instance that I host. Keep in mind that it may be slow to respond, and might just stop working one day. It's also rolling-release: if the API changes in the master branch on GitHub, this instance will reflect it immediately and your app may break. The API documentation can be viewed [here](https://gitlab.com/man90/black-desert-social-rest-api/-/tree/master/doc/api/openapi.json).
10
+
2. Host it yourself. The server may cost some money, but the process is trivial. This approach will give you more stability and freedom. There are four easy steps to it:
11
+
1. Build the server from the source code following [this guide](doc/buildingFromSource.md) or download a prebuilt Linux binary from [here](https://gitlab.com/man90/black-desert-social-rest-api/-/pipelines).
12
+
2. Set the environment variables if you want. The list is in a section below.
13
+
3. Run the binary. Possible flags are described in a section below.
14
+
4. Use the API as described in the [documentation](https://gitlab.com/man90/black-desert-social-rest-api/-/tree/master/doc/api/openapi.json).
14
15
15
16
## Environment variables
16
17
Catch requests on a specific port (8001 by default):
A vast majority of bugs comes from the original BDO website, where data is taken from. You can find a list of known bugs and workarounds [here](doc/brokenStuff.md).
45
+
There is a number of bugs that the official BDO website has. This collector does not do anything about them for the sake of simplicity, so your apps may need to use the [workarounds](doc/brokenStuff.md).
46
+
47
+
## API migration
48
+
There used to be a v0 version that is no longer supported, so if you use it, use the [migration guide](doc/migrationGuilde.md).
49
+
50
+
## Contributing
51
+
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
0 commit comments