Sedang Disiapkan

player score websocket API

Hi;

I am creating a game and I need to use a Leaderboard to store and retrieve players ID and score, for that I want to have a table with namely 4 columns

Player_ID; Player_Name, Player_score and Update_Date

I wan to use the endpoints REST apis wthout authentication

please note cors should be enabled allowing usage from anywhere (no restriction)

sample requests

[login to view URL]

from my game I will use something like the following:

Request1:

Player_ID = "some value";

result = http_get("https://xxxx/id?username=" + Player_ID);

API should behave as following:

*if Player_ID exist then return the associated Player_score

* if Player_ID does not exist then it return string "No ID is found"

Request2: (to register new player)

the request is containing player_ID ,Player_Name and player_score , something like the following:

var message = "&Player_ID" = Player_ID + "&name=" + player_name + "&score=" + string(player_score);

post = http_post_string("https://xx/idmessage=" + message);

Request3: (update score)

var message = "&Player_ID" = Player_ID "&score=" + string(player_score);

API behaviour

Lambda will search for the player_ID and update the associated player_Score column

last but not least; I want an API request that return top 10player (Names and scores) in json format.

thats it. If u think u can do that, leave me a message.

Cheers

J

Kemahiran: Amazon Web Services, Node.js, API

Lihat lagi: create table columns csv file, search table count lcid error, google api distance calculator simple, cricket api, online cricket api, pandascore, sports live score api, football api, liquipedia api, cricbuzz api, live score api, amazon api php script simple, exact score betfair api, score flash api, cricket score update api, flv player code web api, football score java api, hulu player flash object api, live score football api service rss, live score service api

Tentang Majikan:
( 1 ulasan ) Linz, Austria

ID Projek: #27958635

Dianugerahkan kepada:

shashankmistry31

AWS Certified developer here! Better solution here - Use DynamoDB - it will cheaper and faster for you. Do let me know if you wan to proceed with DynamoDB solution . I can do RDS solution as well , but hey! I want to Lagi

$30 USD dalam 3 hari
(2 Ulasan)
3.6

4 pekerja bebas membida secara purata $39 untuk pekerjaan ini

programcoder19

You have a couple of things mentioned there, You have, AWS Lambda, And Rest apis described in detail, which is possible to do, with the sql table that you are asking. You also have described websocket in the project Lagi

$50 USD dalam sehari
(22 Ulasan)
4.6
humayun219

Hey, I've vast experience on API service development and DynamoDB. You've specified request and response format probably JSON I guess. Feel free to message me so we can discuss.

$40 USD dalam 2 hari
(2 Ulasan)
2.9
rbrkee

Hi J, This is Kang Zhao from Shanghai, China. I’ve read your project description, viewed the diagram and browsed the repository provided by the youtube tutorial. Your requirements are clear to me and i can start work Lagi

$35 USD dalam sehari
(1 Ulasan)
0.4