Как узнать свой api steam
Перейти к содержимому

Как узнать свой api steam

Как узнать свой api steam

Completing the CAPTCHA proves you are a human and gives you temporary access to the web property.

What can I do to prevent this in the future?

If you are on a personal connection, like at home, you can run an anti-virus scan on your device to make sure it is not infected with malware.

If you are at an office or shared network, you can ask the network administrator to run a scan across the network looking for misconfigured or infected devices.

Another way to prevent getting this page in the future is to use Privacy Pass. You may need to download version 2.0 now from the Chrome Web Store.

Cloudflare Ray ID: 71ac60afaaa9694f • Your IP : 82.102.23.104 • Performance & security by Cloudflare

Использование Steam API на C#

Справка по апи доступна на странице для разработчиков. У нее есть один недостаток — она глючная и описаны не все методы. Вместо этого лучше использовать стороннюю справку.

Стим умеет отдавать данные как в XML, так и в JSON. Я использовал JSON. Для десериализации использовал сервис json2csharp.com. Сервису нужно скормить урл для получения данных, и он генерирует классы для десериализации.

Получение списка всех игр

Для получения списка игр используется метод GetAppList

— ключ, который мы получили в самом начале.
Первые три класса — это как раз сгенерированные классы для десериализации.

Получение списка друзей пользователя

Здесь используется метод GetFriendList.

Здесь в вызов метода добавляется еще один параметр — ИД пользователя. Обработка ошибок нужна из-за того, что у некоторых пользователей нельзя получить список друзей из-за настроек приватности.

Статистика игрока

Для получения списка игр и количества отыгранных часов используется метод GetOwnedGames.

Подсветка синтаксиса начала глючить, и пришлось навставлять в адреса методов апи пробелов. Не забудьте удалить.

How to get api key from steamcommunity.com?

I am working now, my site will connection with steamcommunity.com. I have completed the install steamcommunity. I have account also. But I am not get a API key. But one thing all tutorials will say follow this link and get API key. But my account in this link always show

I have followed this link

How can I get API key and open id from this site?

user avatar

2 Answers 2

I had the same issue when I was trying to use the invisnik/laravel-steam-auth Laravel package to implement a steam auth system for my project.

By the time my steam account had ZERO purchases 😀 First, I though it will be enough to buy just «any» item from their store, so obviously I’ve purchased a $1.99 game but nothing happened!

Then I saw somewhere that «maybe» a TOTAL of $5 spending will activate the API Key for my account. I gave it a try and bought two more games ($2.99 + $0.49). Now my total spending have exceeded $5 ( $1.99 + $2.99 + $0.49 = $5.47) and the API Key got activated instantly !!

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *