{"id":23605894,"url":"https://github.com/fablecode/ygo-api","last_synced_at":"2026-02-24T11:01:28.954Z","repository":{"id":28061923,"uuid":"99847995","full_name":"fablecode/ygo-api","owner":"fablecode","description":"A C# api for Yugioh related data.","archived":false,"fork":false,"pushed_at":"2022-12-08T03:42:52.000Z","size":1017,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-09T01:06:36.388Z","etag":null,"topics":["cqrs","dotnet-core2-2","mediator","onion-architecture","ygo-api"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fablecode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-08-09T20:01:29.000Z","updated_at":"2022-05-06T15:19:23.000Z","dependencies_parsed_at":"2023-01-14T08:03:17.826Z","dependency_job_id":null,"html_url":"https://github.com/fablecode/ygo-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fablecode/ygo-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fablecode%2Fygo-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fablecode%2Fygo-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fablecode%2Fygo-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fablecode%2Fygo-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fablecode","download_url":"https://codeload.github.com/fablecode/ygo-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fablecode%2Fygo-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29780604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cqrs","dotnet-core2-2","mediator","onion-architecture","ygo-api"],"created_at":"2024-12-27T13:13:38.338Z","updated_at":"2026-02-24T11:01:28.886Z","avatar_url":"https://github.com/fablecode.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"![alt text](https://fablecode.visualstudio.com/_apis/public/build/definitions/22ebd0cf-e8a2-4659-997b-95d960acfe61/3/badge?maxAge=0 \"Visual studio team services build status\") \n\n# Ygo-api\nA C# .NET Core 2.2 api for [Yu-Gi-Oh](http://www.yugioh-card.com/uk/) data such as Card Images, descriptions, Tips and Trivia.\n\n## Why?\nTo provide access to the latest [Yu-Gi-Oh](http://www.yugioh-card.com/uk/)  banlist \u0026 card errata in a simple JSON format.\n\n## Prerequisite\n1. Setup the [Ygo database](https://github.com/fablecode/ygo-database)\n2. For data, install the [ygo-scheduled-tasks](https://github.com/fablecode/ygo-database).\n\n## Installing\n```\n $ git clone https://github.com/fablecode/ygo-api.git\n```\n1. Build the solution\n2. Set 'ygo.api' as startup project\n3. Run\n\n## Built With\n* [Visual Studio 2017](https://www.visualstudio.com/downloads/)\n* [.NET Core 2.2](https://www.microsoft.com/net/download/core)\n* [Onion Architecture](http://jeffreypalermo.com/blog/the-onion-architecture-part-1/) and [CQRS](https://martinfowler.com/bliki/CQRS.html).\n* [Strategy Pattern](https://en.wikipedia.org/wiki/Strategy_pattern)\n* [Swagger](https://swagger.io/)\n* [Mediatr](https://www.nuget.org/packages/MediatR/) for CQRS and the Mediator Design Pattern. Mediator design pattern defines how a set of objects interact with each other. You can think of a Mediator object as a kind of traffic-coordinator, it directs traffic to appropriate parties.\n* [Entity Framework Core 2](https://www.nuget.org/packages/Microsoft.EntityFrameworkCore/)\n* [Fluent Validations](https://www.nuget.org/packages/FluentValidation)\n* [Fluent Assertions](https://www.nuget.org/packages/FluentAssertions)\n* [MSTest](https://www.nuget.org/packages/MSTest.TestFramework)\n* [Visual Studio Team Services](https://www.visualstudio.com/team-services/release-management/) for CI and deployment.\n\n## Dependency graph\n The basic principle of Onion Architecture is to follow the boundaries of these layers – the inner layer can’t depend on its outer layer but can depend on layers beneath.\n \n![ygo-api Dependencies Graph](/assets/images/ygo-api%20Dependencies%20Graph.png?raw=true \"ygo-api Dependencies Graph\")\n \n As you see from the diagram, all the dependency directions are downwards, towards domain.\n\n### Key tenets of Onion Architecture:\n1. The application is built around an independent object model\n2. Inner layers define interfaces.  Outer layers implement interfaces\n3. Direction of coupling is toward the center\n4. All application core code can be compiled and run separate from infrastructure\n\n## License\nThis project is licensed under the MIT License - see the [LICENSE.md](LICENSE) file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffablecode%2Fygo-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffablecode%2Fygo-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffablecode%2Fygo-api/lists"}