GDevelopApp:main
← GDevelopApp:extension/planktonfun/471
opened 09:53PM - 22 Jun 22 UTC
### Description
Allows developers to use Newgrounds API for their games
##…# How to use the extension
To use this extension the developer must fullfill these requirements
- developer must have API keys (to get this you need to create a game in newgrounds first as a draft)
- create scoreboards and medals in newgrounds.
after that you call the loadNewgroundsAPI action using API key at the beginning of the scene. (first loaded scene event doesnt work for some reason)
from there, the developer can use the following methods to manipulate scores and medals in newgrounds
Conditions:
-UserIsLoggedIn
Actions:
- LoadNewgroundsAPI
- PostScoreOnScoreBoard
- UnlockMedal
- LogInToNewGrounds
- LogOutFromNewGrounds
StringExpressions:
- GetPlayerName
- GetDateTime
- GetVersion
- GetMedalList
- GetScoreBoardList
- GetScoreOnScoreBoard
### Checklist
- [X] I've followed all of [the best practices](http://wiki.compilgames.net/doku.php/gdevelop5/extensions/best-practices).
- [X] I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
### Example
[newgrounds-api.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/8961600/newgrounds-api.zip)
### Extension file
[NewgroundsAPI.json.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/8961595/NewgroundsAPI.json.zip)