Results 1 to 4 of 4

Thread: UGC Files

  1. #1

    UGC Files

    Are these API calls broken at the moment? I am not able to access any of the files with the method described here.

  2. #2
    Example calls if anyone else wants to try:

    Get a UGC:

    https://api.steampowered.com/IDOTA2Match_570/GetTeamInfoByTeamId/V001/?key=<key>

    Navi logo: 920110421043409228

    http://api.steampowered.com/ISteamRemoteStorage/GetUGCFileDetails/v1/?key=<key>&appid=570&ugcid=920110421043409228

    {
    "data": {
    "filename": "teams/team_logo_1343406470",
    "url": "http://cloud-4.steampowered.com/ugc/920110421043409228/82E0398179759BD48DA9486A7F10CB1ECE55A713/",
    "size": 26332
    }
    }

    Attempted http://cloud-4.steampowered.com/ugc/...1343406470.png : Fail.

  3. #3
    Basic Member MuppetMaster42's Avatar
    Join Date
    Nov 2011
    Location
    Australia
    Posts
    585
    try this: http://cloud-4.steampowered.com/ugc/920110421043409228/82E0398179759BD48DA9486A7F10CB1ECE55A713/

    the 'filename' is the name of the file that you will be getting back from that url.
    i.e. they've configured the server correctly, so when you open that in your browser, your browser downloads the file and calls it "team_logo_1343406470"

    NOTE

    - the file type is not specified, but valve usually runs with PNG so this is a pretty safe assumption (browsers figure out the true type when they open the file anyways, so it doesn't matter really).

    - the trailing slash IS REQUIRED.
    i.e.
    http://cloud-4.steampowered.com/ugc/920110421043409228/82E0398179759BD48DA9486A7F10CB1ECE55A713/ will work
    http://cloud-4.steampowered.com/ugc/920110421043409228/82E0398179759BD48DA9486A7F10CB1ECE55A713 will not work
    Last edited by MuppetMaster42; 06-19-2014 at 03:59 PM.

  4. #4
    Awesome, thanks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •