Accept TOS

Please note:

  • Only 1v1 files with player perspective are supported fully
  • Sharing replays on YouTube is fast and easy. It takes a few moments for them to process.
  • YouTube video quality improves with their processing time.

API Documentation

How is the API implemented?

The replay2avi API is implemented as simple SOAP XML based web service on zend framework.

Can I get a sample application for using this web service?

Please download our first sample application with source code here:C# sample. To compile it you can try using Visual Studion Express edition. We did not test it with mono framework yet. To generate a new web service wrapper, in case the interface changes you can use the wsdl command line utility from .net (to replace the Replay2AviWebClient.dll).

How do I use the sample application?

To use it, run the bin\Release\SampleUploader.exe executable. Then press initialize. Other buttons will get enabled afterwards. Choose browse and select a replay file. If you want to upload, press Upload button. After successfull upload Replay UID box will be populated. Press Check button to get the status of replay by its UID.

What is the address of the web service interface

The address is: http://www.replay2avi.com/web_api/server.php

How can i see the list of the methods and how to call them

Visit the address: http://www.replay2avi.com/web_api/server.php?wsdl and save the served xml document. You can see the method describtions in the comments. Also most frameworks will produce a nice wrapper if you supply them a wsdl document.

How do I upload a replay using the API?

Use the method "upload_replay". Make sure to provide your username and passwords md5 hash. The limitations will be the same as normal user.

How do I check the state of a replay

Use the method get_state with replay uid, that you received from upload_replay method.

How do I be nice to the server and avoid damaging this service

Please: 1)make as little requests as you can, 2)take a few seconds between each request, 3)let one request finish before starting another, 4)use only one account.

I called a method and it retured an empty value, why?

An error has occured or an account was disabled. Please use the sample application for debug purposes. If you get empty requests with it please contact us :webmaster.

Why are the requests not encrypted?

Please note that all requests to our website are not encrypted (except when you log-in to google), because this is a low-security website. If you have any concerns about security, please contact us :webmaster.

Can I integrate your API with my website?

Yes, you can use the API from any SOAP client. Please contact us :webmaster in case you need any help.

I want more methods in the API! I want to make suggestions how to improve the API!

Please contact us :webmaster.