Skip to content

wpburgers/SDKGenerator

 
 

Repository files navigation

PlayFab SDK Generator README

  1. Overview:

This is a node.js based program that takes a json description of the PlayFab API and uses it to generate out all the different SDKs that must be kept up to date. This project also contains the sources for all PlayFab SDKs on all platforms. If you want to make a change in an SDK, this is where the change has to go.

  1. Prerequisites:

  1. You must have Node.js installed: http://nodejs.org/

  2. You must have the PlayFab API spec json files: https://github.com/PlayFab/api_specs

  3. Usage Instructions:


To invoke the generator, open a command line at the root of the project and type:

node generate.js <apiSpecLocation> [<targetName>=<targetOutputLocation>] ...

<apiSpecLocation> is the directory containing the api spec json files obtained from the PlayFab api_specs repo.

Next you supply a list of targets to generate, and the directory to generate them to. Each target takes the form:

<targetName>=<targetOutputLocation>

Where <targetName> is one of the supported SDK targets, and <targetOutputLocation> is a path to a directory to generate the SDK in. Note: Make sure there are no spaces between he arguments and the equals sign. Additional

Example:

node generate.js ../api_specs csharp-unity=../sdks/unitySDK

  1. Troubleshooting:

For a complete list of available APIs, check out the online documentation.

Contact Us

We love to hear from our developer community! Do you have ideas on how we can make our products and services better?

Our Developer Success Team can assist with answering any questions as well as process any feedback you have about PlayFab services.

Forums, Support and Knowledge Base

  1. Copyright and Licensing Information:

Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/

Full details available within the LICENSE file.

About

Source for all auto-generated SDKs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 31.7%
  • Objective-C 16.1%
  • Java 12.2%
  • C++ 11.6%
  • C 9.5%
  • JavaScript 8.6%
  • Other 10.3%