koraktor / steam-condenser

A multi-language library for querying the Steam Community, Source, GoldSrc servers and Steam master servers
https://koraktor.de/steam-condenser
Other
359 stars 65 forks source link

key needed in order to query #306

Closed BrutalCSkakan closed 7 years ago

BrutalCSkakan commented 7 years ago

I'm getting an error when trying to call on create(steamcommunity), the api tells me that I need to provide my key. But how can I do this?

com.github.koraktor.steamcondenser.exceptions.WebApiException: The Web API request has failed due to an HTTP error: Bad Request (status code: 400).

Bad Request Required parameter 'key' is missing

koraktor commented 7 years ago

You will have to set your API key for most of the API methods:

WebApi.setApiKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXX");

If you don't have one already you may register at https://steamcommunity.com/dev/apikey.