Skip to content

Commit 483706a

Browse files
committed
Update the README file
1 parent 368fbb9 commit 483706a

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

README.md

+22-12
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1-
# Black Desert social REST API
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.
33

44
## 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.
66

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).
1415

1516
## Environment variables
1617
Catch requests on a specific port (8001 by default):
@@ -26,7 +27,7 @@ export PROXY="http://123.123.123.123:8080 http://124.124.124.124:8081"
2627
```
2728

2829
## Flags
29-
Flags override environment variables
30+
These flags override environment variables.
3031
```
3132
-cachettl int
3233
Cache TTL in minutes (default 180)
@@ -41,4 +42,13 @@ Use them like this:
4142
```
4243

4344
## Known bugs
44-
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.
52+
53+
## License
54+
[MIT](LICENSE)

0 commit comments

Comments
 (0)