- 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.
- Prerequisites:
-
You must have Node.js installed: http://nodejs.org/
-
You must have the PlayFab API spec json files: https://github.com/PlayFab/api-specs
-
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
- Troubleshooting:
For a complete list of available APIs, check out the online documentation.
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
- Copyright and Licensing Information:
Apache License -- Version 2.0, January 2004 http://www.apache.org/licenses/
Full details available within the LICENSE file.
- Version History:
- (v1.00) -- Initial upload