API Get PHP Script.

Ok, I am trying to grab steam user profile screen shots from our profiles in steam. I have the api codes in theory they should work if coded properly and I am clueless on this part it was hard enough to figure out the steam openid. I was wondering if anyone would be so kind into tell me how I might go about coding this here is the entire api code.

API CODE ITS BIG!

[code] {
“name”: “IPublishedFileService”,
“methods”: [
{
“name”: “QueryFiles”,
“version”: 1,
“httpmethod”: “GET”,
“description”: “Performs a search query for published files”,
“parameters”: [
{
“name”: “key”,
“type”: “string”,
“optional”: false,
“description”: “Access key”
},
{
“name”: “query_type”,
“type”: “uint32”,
“optional”: false,
“description”: “enumeration EPublishedFileQueryType in clientenums.h”
},
{
“name”: “page”,
“type”: “uint32”,
“optional”: false,
“description”: “Current page”
},
{
“name”: “numperpage”,
“type”: “uint32”,
“optional”: true,
“description”: “(Optional) The number of results, per page to return.”
},
{
“name”: “creator_appid”,
“type”: “uint32”,
“optional”: false,
“description”: “App that created the files”
},
{
“name”: “appid”,
“type”: “uint32”,
“optional”: false,
“description”: “App that consumes the files”
},
{
“name”: “requiredtags”,
“type”: “string”,
“optional”: false,
“description”: “Tags to match on. See match_all_tags parameter below”
},
{
“name”: “excludedtags”,
“type”: “string”,
“optional”: false,
“description”: “(Optional) Tags that must NOT be present on a published file to satisfy the query.”
},
{
“name”: “match_all_tags”,
“type”: “bool”,
“optional”: true,
“description”: “If true, then items must have all the tags specified, otherwise they must have at least one of the tags.”
},
{
“name”: “required_flags”,
“type”: “string”,
“optional”: false,
“description”: “Required flags that must be set on any returned items”
},
{
“name”: “omitted_flags”,
“type”: “string”,
“optional”: false,
“description”: “Flags that must not be set on any returned items”
},
{
“name”: “search_text”,
“type”: “string”,
“optional”: false,
“description”: “Text to match in the item’s title or description”
},
{
“name”: “filetype”,
“type”: “uint32”,
“optional”: false,
“description”: “EPublishedFileInfoMatchingFileType”
},
{
“name”: “child_publishedfileid”,
“type”: “uint64”,
“optional”: false,
“description”: “Find all items that reference the given item.”
},
{
“name”: “days”,
“type”: “uint32”,
“optional”: false,
“description”: “If query_type is k_PublishedFileQueryType_RankedByTrend, then this is the number of days to get votes for [1,7].”
},
{
“name”: “include_recent_votes_only”,
“type”: “bool”,
“optional”: false,
“description”: “If query_type is k_PublishedFileQueryType_RankedByTrend, then limit result set just to items that have votes within the day range given”
},
{
“name”: “totalonly”,
“type”: “bool”,
“optional”: false,
“description”: “(Optional) If true, only return the total number of files that satisfy this query.”
},
{
“name”: “return_vote_data”,
“type”: “bool”,
“optional”: false,
“description”: “Return vote data”
},
{
“name”: “return_tags”,
“type”: “bool”,
“optional”: false,
“description”: “Return tags in the file details”
},
{
“name”: “return_kv_tags”,
“type”: “bool”,
“optional”: false,
“description”: “Return key-value tags in the file details”
},
{
“name”: “return_previews”,
“type”: “bool”,
“optional”: false,
“description”: “Return preview image and video details in the file details”
},
{
“name”: “return_children”,
“type”: “bool”,
“optional”: false,
“description”: “Return child item ids in the file details”
},
{
“name”: “return_short_description”,
“type”: “bool”,
“optional”: false,
“description”: “Populate the short_description field instead of file_description”
}
]

				}
			]
			
		},[/code]

URL TO CALL?

http://api.steampowered.com/IPublishedFileService/QueryFiles/v1/?key=

The httpmethod is called GET as you can see above. I have no clue were else I would get help other then here. So baisically I need to write something that calls that url with your steam id to read the screenshots you uploaded. If thats not the right api code I got another one that probably is. I just didn’t wanna post 2 big codes right off the bat. Again thank you if you can help me and as always you can see my website in the review section on this website.

Post the code that you are trying to use. Do you have an API key?

Sponsor our Newsletter | Privacy Policy | Terms of Service