Game
Unity API
7 years ago

GameJoltDotNet


Hello there!
I just wanted to let you know, that I’ve published a first beta version of another GameJolt API client, which can be used without Unity.
It is called GameJoltDotNet and it is based on .NET Standard 1.3 and therefore you can basically use it on any .NET platform.
Of course I will continue working on both APIs, so don’t worry :D

The new library is heavily based on the wonderful async/await mechanism to implement a simple and yet powerful asynchronous workflow.

Example

First of all you have to create a new api instance:

		
			var api = new GameJoltApi(gameId, privateKey);
		
	

Afterwards you can directly use the different GameJolt features.

		
			// by using async/await:
var response = await api.Scores.FetchAsync();
if(response.Success) {
    // response.Data contains the list of scores
}

// or by using the callback mechanism:
api.Scores.Fetch(callback: response => {
    if(response.Success) {
        // response.Data contains the list of scores
    }
});
		
	

So feel free to try it out :)



0 comments

Loading...

Next up

We are under attack!

I have added rewards for quests so that villagers can give you something in return for your hard work helping them. 🥳

I want to know - what's your favourite quest reward?

Protege el conocimiento, salva la historia. Guardian of Lore es un platformer 2D en el que debes luchar para mantener viva la memoria de la mitología latinoamericana. El juego llegará a Steam el 18 de mayo: https://steam.pm/app/1211740 #ScreenshotSaturday

In the quest for accessibility, I'm adding Resurrection Shrines for players on the 'novice' end of the platforming spectrum.

In order to unlock the power of a Shrine, you must collect 3 'Souls' from your dead corpses! (the floating blue orbs)

Strange Umbrella

The Darkside Detective: A Fumble in the Dark is out TODAY! 🖱️Advanced pointing, clicking action 🖨️Very funny words! Loads of them! 👻6 sarcastic, spectral cases to solve

A Shiny Mega Gengar 🌟 For @ManutkArt 's #ThreeColorsChallenge!

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

Shuiro Haname. #Commission

Commission for @ShuHaname