mirror of
https://github.com/bisq-network/bisq-api-reference.git
synced 2026-03-14 01:10:14 +00:00
Change links from my repo to bisq_network fork
This commit is contained in:
parent
45f6704f20
commit
8c7bdd975a
14
README.md
14
README.md
@ -10,20 +10,20 @@ client example code, and developing new Java and Python clients and bots.
|
||||
|
||||
It contains four subprojects:
|
||||
|
||||
1. [reference-doc-builder](https://github.com/ghubstan/bisq-api-reference/tree/main/reference-doc-builder) -- The Java
|
||||
1. [reference-doc-builder](https://github.com/bisq-network/bisq-api-reference/tree/main/reference-doc-builder) -- The Java
|
||||
application that produces the [API Reference](https://bisq-network.github.io/slate) content, from Bisq protobuf
|
||||
definition files.
|
||||
2. [cli-examples](https://github.com/ghubstan/bisq-api-reference/tree/main/cli-examples) -- A folder of bash scripts
|
||||
2. [cli-examples](https://github.com/bisq-network/bisq-api-reference/tree/main/cli-examples) -- A folder of bash scripts
|
||||
demonstrating how to run API CLI commands. Each script is named for the RPC method call being demonstrated.
|
||||
3. [java-examples](https://github.com/ghubstan/bisq-api-reference/tree/main/java-examples) -- A Java project
|
||||
3. [java-examples](https://github.com/bisq-network/bisq-api-reference/tree/main/java-examples) -- A Java project
|
||||
demonstrating how to call the API from Java gRPC clients. Each class in
|
||||
the [bisq.rpccalls](https://github.com/ghubstan/bisq-api-reference/tree/main/java-examples/src/main/java/bisq/rpccalls)
|
||||
the [bisq.rpccalls](https://github.com/bisq-network/bisq-api-reference/tree/main/java-examples/src/main/java/bisq/rpccalls)
|
||||
package is named for the RPC method call being demonstrated.
|
||||
4. [python-examples](https://github.com/ghubstan/bisq-api-reference/tree/main/python-examples) -- A Python3 project
|
||||
4. [python-examples](https://github.com/bisq-network/bisq-api-reference/tree/main/python-examples) -- A Python3 project
|
||||
demonstrating how to call the API from Python3 gRPC clients. Each class in
|
||||
the [bisq.rpccalls](https://github.com/ghubstan/bisq-api-reference/tree/main/python-examples/bisq/rpccalls) package
|
||||
the [bisq.rpccalls](https://github.com/bisq-network/bisq-api-reference/tree/main/python-examples/bisq/rpccalls) package
|
||||
is named for the RPC method call being demonstrated. There are also some simple bot examples in
|
||||
the [bisq.bots](https://github.com/ghubstan/bisq-api-reference/tree/main/python-examples/bisq/bots) package.
|
||||
the [bisq.bots](https://github.com/bisq-network/bisq-api-reference/tree/main/python-examples/bisq/bots) package.
|
||||
|
||||
The RPC method examples are also displayed in the [API Reference](https://bisq-network.github.io/slate). While
|
||||
navigating the RPC method links in the reference's table of contents on the left side of the page, they appear in the
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
This subproject contains Java classes demonstrating API gRPC method calls.
|
||||
|
||||
Each class in
|
||||
the [bisq.rpccalls](https://github.com/ghubstan/bisq-api-reference/tree/main/java-examples/src/main/java/bisq/rpccalls)
|
||||
the [bisq.rpccalls](https://github.com/bisq-network/bisq-api-reference/tree/main/java-examples/src/main/java/bisq/rpccalls)
|
||||
package is named for the RPC method call being demonstrated.
|
||||
|
||||
The subproject uses a
|
||||
a [Gradle build file](https://github.com/ghubstan/bisq-api-reference/blob/main/java-examples/build.gradle), also
|
||||
a [Gradle build file](https://github.com/bisq-network/bisq-api-reference/blob/main/java-examples/build.gradle), also
|
||||
demonstrating how to generate the necessary protobuf classes from the Bisq .proto files.
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
This subproject contains Python3 classes demonstrating API gRPC method calls, and some sample bots.
|
||||
|
||||
Each class in
|
||||
the [bisq.rpccalls](https://github.com/ghubstan/bisq-api-reference/tree/main/python-examples/bisq/rpccalls) package is
|
||||
the [bisq.rpccalls](https://github.com/bisq-network/bisq-api-reference/tree/main/python-examples/bisq/rpccalls) package is
|
||||
named for the RPC method call being demonstrated.
|
||||
|
||||
The `run-setup.sh` script in this directory can install Python3 dependencies and example packages into a local venv.
|
||||
|
||||
@ -43,7 +43,7 @@ directory (`my-api-app`), and the Bisq .proto files are located in a directory n
|
||||
### Generate Bisq API protobuf stubs using Gradle grpc-java plugin (recommended)
|
||||
|
||||
You can generate Java API stubs in a Gradle project using the [protoc-gen-grpc-java](https://github.com/grpc/grpc-java)
|
||||
plugin. Try the [build.gradle](https://github.com/ghubstan/bisq-api-reference/blob/main/java-examples/build.gradle)
|
||||
plugin. Try the [build.gradle](https://github.com/bisq-network/bisq-api-reference/blob/main/java-examples/build.gradle)
|
||||
file used by the project providing the Java examples for this document; it should work for you.
|
||||
|
||||
_Note: You can also generate stubs with [protoc-gen-grpc-java](https://github.com/grpc/grpc-java) in maven projects._
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user