Database for the project, tables, data and implementing multilanguage.
gRPC Server using .net to consult information from Yu-Gi-Oh!
REST API gateway consuming the gRPC server.
You can make a client for gRPC in the api that you want to consult information from gRPC Server - YGOWiki
var channel = GrpcChannel.ForAddress("https://localhost:5001", new GrpcChannelOptions
{
HttpHandler = new GrpcWebHandler(new HttpClientHandler())
});
var client = new Greeter.GreeterClient(channel);
var response = await client.SayHelloAsync(new HelloRequest { Name = ".NET" });
You need to replace the url to "https://ygowiki.application-service.work/".
You can also try it, using Kreya. Kreya - Calling APIs made easy
An API composed solely of GET requests, with Swagger documentation available, that connects to a gRPC server to retrieve information. The available languages are es-mx (Spanish - Español) and en-us (English - Ingles) YGO Client
curl -X 'GET' \
'https://ygoclient.application-service.work/Attribute/all/es-mx' \
-H 'accept: */*'
You can consume the API using this URL: "https://ygoclient.application-service.work/".
For more information, you can check this swagger doc online about the ygo client. YGO Client - Swagger Documentation
To run tests, run ServerTest.cs from project ServerYGO.NUnit
If you have any feedback, please reach out to me.