Developer API


There are 3 kind of API you can use :  

1. Zappiti Service (on Player)

This is an always running service that required Zappiti Service to be installed on the player.

This API allow you to send keycodes to Zappiti Player.

Syntax :
http://ip:8080/remoteCmd?command=<keycode>  

Power:
KEYCODE_POWER
KEYCODE_SLEEP
KEYCODE_WAKEUP

Characters:
KEYCODE_0 to KEYCODE_9
KEYCODE_A to KEYCODE_Z

Page up/down:
KEYCODE_DPAD_UP
KEYCODE_DPAD_DOWN

Previous/Next:
KEYCODE_MEDIA_PREVIOUS
KEYCODE_MEDIA_NEXT

Play/Pause:
KEYCODE_MEDIA_PLAY_PAUSE

Volume:
KEYCODE_VOLUME_UP
KEYCODE_VOLUME_DOWN
KEYCODE_VOLUME_MUTE

Directional pad:
KEYCODE_DPAD_UP
KEYCODE_DPAD_LEFT
KEYCODE_DPAD_RIGHT
KEYCODE_DPAD_DOWN

Others:
OK : KEYCODE_ENTER
Menu: KEYCODE_MENU
Back: KEYCODE_BACK
Info: KEYCODE_INFO 
Aspect ratio: KEYCODE_F11
3D : KEYCODE_F7
Zoom : KEYCODE_TV
Delete : KEYCODE_DEL
Subtitle: KEYCODE_CAPTIONS
Audio : KEYCODE_MEDIA_AUDIO_TRACK

Colored buttons:
Red: KEYCODE_MEDIA_REWIND
Green: KEYCODE_F8
Yellow: KEYCODE_F10
Blue: KEYCODE_F5

Apps shortcuts :
Zappiti: KEYCODE_F3
Explorer: KEYCODE_F4  


2. Zappiti Player HTTP Service (on player)  

This API allow you to interact with Zappiti Player.

How to use ?

First of all, you need and API KEY.

Please, fill this short form in order to get an API Key.

API Documentation

Swagger API Reference


Generate your own API Client

You can then use Swagger tools to generate your client code :

1. http://editor.swagger.io/

2. File/Import url : http://zappiti.com/api/zappiti-player-4k/swagger/swagger.yaml

3. Generate your Zappiti client.


3. Zappiti Server API (on Zappiti Server)


This API allow you to interract with Zappiti Server and with an user database.

How to use ?

First of all, you need and API KEY.

Please, fill this short form in order to get an API Key. 

API Documentation

API Reference

Commentaires et Base de connaissances