入門
すべての API アクセスは HTTPS 経由で実行され、https://api.magicthegathering.io のドメインへアクセスされます。
API エンドポイントを使用するための形式は
https://api.magicthegathering.io/<version>/<resource>
例:
APIを更に簡単に使用するために、複数のSDKを利用できます。
他の開発者とチャットでAPIとSDKについて話し合うには
Discord Serverをチェックしてください。
開発者向け SDK
複数の開発者向け SDK が利用可能です。
それらをインストールして使用する方法については、以下のリンクを参照してください。
- Ruby SDK: https://github.com/MagicTheGathering/mtg-sdk-ruby
- Python SDK: https://github.com/MagicTheGathering/mtg-sdk-python
- Javascript SDK: https://github.com/MagicTheGathering/mtg-sdk-javascript
- .NET SDK: https://github.com/MagicTheGathering/mtg-sdk-dotnet
- Java SDK: https://github.com/MagicTheGathering/mtg-sdk-java
- PHP SDK: https://github.com/MagicTheGathering/mtg-sdk-php
- Kotlin SDK: https://github.com/MagicTheGathering/mtg-sdk-kotlin
- Go SDK: https://github.com/MagicTheGathering/mtg-sdk-go
- Swift SDK: https://github.com/MagicTheGathering/mtg-sdk-swift
- Typescript SDK: https://github.com/MagicTheGathering/mtg-sdk-typescript