Skip to content

MiguelBrav/YGOWiki

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YGOWiki

YGODatabase

Database for the project, tables, data and implementing multilanguage.

YGOWikiGRPC

gRPC Server using .net to consult information from Yu-Gi-Oh!

YGOClient

REST API gateway consuming the gRPC server.

Usage/Examples for YGOWikiGRPC

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

App Screenshot

App Screenshot

Usage/Examples for YGOClient

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: */*'

App Screenshot

App Screenshot

App Screenshot

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

Running Tests

To run tests, run ServerTest.cs from project ServerYGO.NUnit

App Screenshot

Feedback

If you have any feedback, please reach out to me.

Releases

No releases published

Packages

No packages published