Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

The AMQP service sends the messages to the customer's queue. The communication is done by sending messages in JSON format. The AMQP server is based on RabbitMQ: https://www.rabbitmq.com/clients.html. For receiving the real-time messages customers should establish a connection with the AMQP server.

Authentication

For authentication to the AMQP server you should use the following credentials:

AMQP server

queue.statscore.com

Port

5672 (standard SSL port for AMQP)

Virtual host

statscore

Queue

Queue name is separate for each customer and will be send by STATSCORE administrator.
By default queue name is the same as your USERNAME. 

Username

YOUR_USERNAME. The parameters are assigned to you by our sales department

Password

YOUR_SECRET_KEY. The parameters are assigned to you by our sales department

Message delivery and updates

AMQP server delivers a few message types that are described in the Message types section.
Each message in the AMQP service includes the attribute "action". This attribute describes the type of action taken for any new data. Possible values:

  • insert - new data generated by the scout

  • update - existing data was updated by the scout (e.g. the incident "yellow card" is updated when the scout fills in the name of the player (participant))

  • delete - data was deleted (e.g. when a scout adds an incident by mistake, he can delete it)

  • No labels