зеркало из https://github.com/mozilla/galaxy-api.git
Modified README for new game submission and game detail format
This commit is contained in:
Родитель
5aea09e0f4
Коммит
f281bece8f
|
@ -31,8 +31,8 @@ nodemon app.js
|
|||
|
||||
### Game Submission
|
||||
|
||||
curl -X POST 'http://localhost:5000/game/submit' -d 'name=Mario Bros&app_url=http://mariobro.se&icons=128&screenshots=yes&videos=yes'
|
||||
curl -X POST 'http://localhost:5000/game/submit' -d 'name=Nutty Ninjas&app_url=http://nuttyninjas.com/&icons=http://png-4.findicons.com/files/icons/2297/super_mario/256/paper_mario.png&videos=%5B%22http://www.youtube.com/embed/4kvT0dywaF8%22,%22http://www.youtube.com/embed/1Sow2O8D9Ok%22%5D&screenshots=%5B%22http://www.digitaltrends.com/wp-content/uploads/2011/02/nintendo-new-super-mario-bros-ds-art-screenshot.jpg%22,%22http://splitkick.com/wp-content/uploads/2013/01/newsuper2img.jpg%22,%22http://www.mariowiki.com/images/f/fc/SuperMarioBrosArtwork2.jpg%22,%22http://www.digitaltrends.com/wp-content/uploads/2011/02/nintendo-new-super-mario-bros-ds-art-screenshot.jpg%22,%22http://splitkick.com/wp-content/uploads/2013/01/newsuper2img.jpg%22,%22http://www.mariowiki.com/images/f/fc/SuperMarioBrosArtwork2.jpg%22,%22http://www.digitaltrends.com/wp-content/uploads/2011/02/nintendo-new-super-mario-bros-ds-art-screenshot.jpg%22,%22http://splitkick.com/wp-content/uploads/2013/01/newsuper2img.jpg%22,%22http://www.mariowiki.com/images/f/fc/SuperMarioBrosArtwork2.jpg%22%5D&artwork_background=background.jpg&developer_name=Yang Shun&developer_url=http://yangshun.im/&description=Nutty+Ninjas+is+a+real-time+shooter+that+brings+the+experience+of+social+multiplayer+gaming+to+a+whole+new+level%3B+it+is+a+console-style+game+that+can+be+played+anywhere+and+anytime%2C+simply+with+your+computer+and+mobile+devices.+Multiple+players+can+join+a+common+gameplay+screen+just+by+using+their+mobile+devices%2C+and+control+their+ninja+character+to+unleash+dangerous+weapons+at+fellow+players!&genre=action&privacy_policy_url=http://una-org.github.io/demos.html'
|
||||
|
||||
### Game Details
|
||||
|
||||
curl 'http://localhost:5000/game/mario-bros/detail'
|
||||
curl 'http://localhost:5000/game/nutty-ninjas/detail'
|
||||
|
|
Загрузка…
Ссылка в новой задаче